Skip to content

fix/Quire lightbox slide area to allow outside click modal close#53

Open
andy-jdl wants to merge 1 commit intothegetty:mainfrom
andy-jdl:fix-figure-image
Open

fix/Quire lightbox slide area to allow outside click modal close#53
andy-jdl wants to merge 1 commit intothegetty:mainfrom
andy-jdl:fix-figure-image

Conversation

@andy-jdl
Copy link

This change adds a style to the quire light-box slide .q-lightbox-slides_slide. Previously, the image within the slide was inheriting the parent's size width/height 100%. By adding this style, we set the image back to its intrinsic value set to auto. This avoids introducing custom CSS overrides.

As a side fix, updated sass if-else from its deprecated syntax to its modern one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant