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.vars.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.vars.scss')
-rw-r--r-- | src/objects/_lightbox.vars.scss | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objects/_lightbox.vars.scss b/src/objects/_lightbox.vars.scss index 969bd44..7ea49b0 100644 --- a/src/objects/_lightbox.vars.scss +++ b/src/objects/_lightbox.vars.scss | |||
@@ -5,6 +5,8 @@ | |||
5 | 5 | ||
6 | $pad: props.def(--o-lightbox--pad, props.get(core.$size--150)) !default; | 6 | $pad: props.def(--o-lightbox--pad, props.get(core.$size--150)) !default; |
7 | 7 | ||
8 | $image--max-height: 80vh; | ||
9 | |||
8 | $thumbnail--size: props.def(--o-lightbox--thumbnail--size, props.get(core.$size--700)) !default; | 10 | $thumbnail--size: props.def(--o-lightbox--thumbnail--size, props.get(core.$size--700)) !default; |
9 | $thumbnail--rounding: props.def(--o-lightbox--thumbnail--rounding, props.get(core.$rounding)) !default; | 11 | $thumbnail--rounding: props.def(--o-lightbox--thumbnail--rounding, props.get(core.$rounding)) !default; |
10 | $thumbnail--spacing: props.def(--o-lightbox--thumbnail--spacing, props.get(core.$size--100)) !default; | 12 | $thumbnail--spacing: props.def(--o-lightbox--thumbnail--spacing, props.get(core.$size--100)) !default; |