Add transform exception for lightbox modal (#1683)

This commit is contained in:
Rave | 図書館猫 2022-06-13 18:48:45 +02:00 committed by GitHub
parent cf53fdbc92
commit 56de3fdd13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1615,6 +1615,10 @@ img {
// Fix Lightbox (Image viewer) modal backdrop bug // Fix Lightbox (Image viewer) modal backdrop bug
// Context: transform, filter and perspective break "position: fixed" in child element // Context: transform, filter and perspective break "position: fixed" in child element
.lb-open-lightbox { .lb-open-lightbox {
.ReactModal__Content {
transform: unset !important;
}
.modal { .modal {
-webkit-backdrop-filter: unset; -webkit-backdrop-filter: unset;
backdrop-filter: unset; backdrop-filter: unset;