diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/objects/_lightbox.scss | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss index 48470c0..252e38a 100644 --- a/src/objects/_lightbox.scss +++ b/src/objects/_lightbox.scss | |||
@@ -117,13 +117,13 @@ $static-themes: 'black' 'white' !default; | |||
117 | } | 117 | } |
118 | 118 | ||
119 | @include iro.bem-elem('img') { | 119 | @include iro.bem-elem('img') { |
120 | display: none; | 120 | display: none; |
121 | box-sizing: border-box; | 121 | box-sizing: border-box; |
122 | grid-area: content; | 122 | grid-area: content; |
123 | inline-size: 100%; | 123 | max-inline-size: 100%; |
124 | block-size: 100%; | 124 | max-block-size: 100%; |
125 | padding: fn.dim(--pad); | 125 | place-self: center; |
126 | object-fit: scale-down; | 126 | padding: fn.dim(--pad); |
127 | 127 | ||
128 | @include iro.bem-sibling-elem('img') { | 128 | @include iro.bem-sibling-elem('img') { |
129 | @include iro.bem-modifier('default') { | 129 | @include iro.bem-modifier('default') { |