Fix lightbox initial display
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user