diff options
author | Volpeon <git@volpeon.ink> | 2024-01-12 12:42:44 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-01-12 12:42:44 +0100 |
commit | c55bb523eec2aff3bb0d3926ceedbe47752f9d01 (patch) | |
tree | 246bd0f15a8aa765af8dbf80c49eecaf7ec70fa3 /src | |
parent | Fix static lightbox (diff) | |
download | iro-design-c55bb523eec2aff3bb0d3926ceedbe47752f9d01.tar.gz iro-design-c55bb523eec2aff3bb0d3926ceedbe47752f9d01.tar.bz2 iro-design-c55bb523eec2aff3bb0d3926ceedbe47752f9d01.zip |
Fix
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') { |