diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/objects/_lightbox.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss index 93256a1..09a228b 100644 --- a/src/objects/_lightbox.scss +++ b/src/objects/_lightbox.scss | |||
@@ -72,10 +72,10 @@ | |||
72 | display: none; | 72 | display: none; |
73 | box-sizing: border-box; | 73 | box-sizing: border-box; |
74 | grid-area: content; | 74 | grid-area: content; |
75 | max-width: 100%; | 75 | width: 100%; |
76 | max-height: 100%; | 76 | height: 100%; |
77 | margin: auto; | ||
78 | padding: fn.dim(--pad); | 77 | padding: fn.dim(--pad); |
78 | object-fit: scale-down; | ||
79 | 79 | ||
80 | @include iro.bem-sibling-elem('img') { | 80 | @include iro.bem-sibling-elem('img') { |
81 | @include iro.bem-modifier('default') { | 81 | @include iro.bem-modifier('default') { |