Merged in fix/image-gallery (pull request #1274)
fix: quick fix to have the tiggerArea only be position relative when not using fill * fix: quick fix to have the tiggerArea only be position relative when not using fill Approved-by: Pontus Dreij
This commit is contained in:
@@ -13,11 +13,12 @@
|
||||
}
|
||||
|
||||
.triggerArea {
|
||||
position: relative;
|
||||
display: flex;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.triggerArea:not(.fill) {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.image {
|
||||
|
||||
@@ -33,7 +33,7 @@ function ImageGallery({
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
className={styles.triggerArea}
|
||||
className={`${styles.triggerArea} ${fill ? styles.fill : ""}`}
|
||||
role="button"
|
||||
onClick={() => setLightboxIsOpen(true)}
|
||||
aria-label={intl.formatMessage({ id: "Open image gallery" })}
|
||||
|
||||
Reference in New Issue
Block a user