summaryrefslogtreecommitdiffstats
path: root/src/objects/_lightbox.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/_lightbox.scss')
-rw-r--r--src/objects/_lightbox.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss
index 59ae03f..9d5fb2f 100644
--- a/src/objects/_lightbox.scss
+++ b/src/objects/_lightbox.scss
@@ -29,7 +29,7 @@
29 grid-template-columns: minmax(0, 1fr) auto; 29 grid-template-columns: minmax(0, 1fr) auto;
30 grid-template-areas: 'header close' 'content content' 'footer footer'; 30 grid-template-areas: 'header close' 'content content' 'footer footer';
31 gap: fn.dim(--spacing); 31 gap: fn.dim(--spacing);
32 min-height: 0; 32 height: 100%;
33 33
34 @include iro.bem-elem('footer') { 34 @include iro.bem-elem('footer') {
35 grid-area: footer; 35 grid-area: footer;
@@ -47,10 +47,10 @@
47 } 47 }
48 48
49 @include iro.bem-elem('img') { 49 @include iro.bem-elem('img') {
50 grid-area: content; 50 grid-area: content;
51 justify-self: center; 51 max-width: 100%;
52 max-width: 100%; 52 max-height: 100%;
53 max-height: 100%; 53 margin: auto;
54 } 54 }
55 55
56 @include iro.bem-elem('thumbnail') { 56 @include iro.bem-elem('thumbnail') {