diff options
| author | Volpeon <git@volpeon.ink> | 2024-07-05 07:52:21 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2024-07-05 07:52:21 +0200 |
| commit | 53fbbf354fc6e4f7af3cad413fbdd25f3a4ac254 (patch) | |
| tree | f02432dfd48f34cb3514facbd2b736295f4ec2e8 /src | |
| parent | Button padding (diff) | |
| download | iro-design-53fbbf354fc6e4f7af3cad413fbdd25f3a4ac254.tar.gz iro-design-53fbbf354fc6e4f7af3cad413fbdd25f3a4ac254.tar.bz2 iro-design-53fbbf354fc6e4f7af3cad413fbdd25f3a4ac254.zip | |
Lightbox
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') { |
