diff options
author | Volpeon <git@volpeon.ink> | 2024-10-26 11:14:34 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-26 11:14:34 +0200 |
commit | ed0c57c6f506189fa47f75d36318985a3f3307a2 (patch) | |
tree | 663a11059908364e42698d8aaca722e20dfcfe84 /src/objects/_lightbox.scss | |
parent | Fix (diff) | |
download | iro-design-ed0c57c6f506189fa47f75d36318985a3f3307a2.tar.gz iro-design-ed0c57c6f506189fa47f75d36318985a3f3307a2.tar.bz2 iro-design-ed0c57c6f506189fa47f75d36318985a3f3307a2.zip |
Lightbox: Make image max height configurable
Diffstat (limited to 'src/objects/_lightbox.scss')
-rw-r--r-- | src/objects/_lightbox.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss index 092d676..0ce62ff 100644 --- a/src/objects/_lightbox.scss +++ b/src/objects/_lightbox.scss | |||
@@ -31,7 +31,7 @@ | |||
31 | inline-size: auto; | 31 | inline-size: auto; |
32 | max-inline-size: 100%; | 32 | max-inline-size: 100%; |
33 | block-size: auto; | 33 | block-size: auto; |
34 | max-block-size: 80vh; | 34 | max-block-size: props.get(vars.$image--max-height); |
35 | padding: props.get(vars.$pad); | 35 | padding: props.get(vars.$pad); |
36 | margin-inline: auto; | 36 | margin-inline: auto; |
37 | } | 37 | } |