summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects')
-rw-r--r--src/objects/_lightbox.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss
index dbcc3ab..092d676 100644
--- a/src/objects/_lightbox.scss
+++ b/src/objects/_lightbox.scss
@@ -28,8 +28,9 @@
28 display: block; 28 display: block;
29 grid-area: content; 29 grid-area: content;
30 place-self: center; 30 place-self: center;
31 size: auto; 31 inline-size: auto;
32 max-inline-size: 100%; 32 max-inline-size: 100%;
33 block-size: auto;
33 max-block-size: 80vh; 34 max-block-size: 80vh;
34 padding: props.get(vars.$pad); 35 padding: props.get(vars.$pad);
35 margin-inline: auto; 36 margin-inline: auto;
@@ -94,7 +95,8 @@
94 inset-block-start: 0; 95 inset-block-start: 0;
95 inset-inline-start: 0; 96 inset-inline-start: 0;
96 display: block; 97 display: block;
97 size: 100%; 98 inline-size: 100%;
99 block-size: 100%;
98 object-fit: cover; 100 object-fit: cover;
99 object-position: center center; 101 object-position: center center;
100 } 102 }