Fix lightbox initial display

This commit is contained in:
Andy Smith
2025-07-30 17:30:56 -05:00
parent 58667e5b2d
commit 514dbc536b
+2 -1
View File
@@ -5,7 +5,6 @@
background-color: transparent;
block-size: 100dvh;
border: 0;
display: grid;
inline-size: 100dvw;
inset: 0;
margin: auto;
@@ -33,6 +32,8 @@
}
&[open] {
display: grid;
&, &::backdrop, img {
opacity: 1;
transform: translateY(0);