diff options
author | Volpeon <git@volpeon.ink> | 2022-08-23 13:12:04 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-08-23 13:12:04 +0200 |
commit | 4df45339569d50aeb8fd2b3743b92f91eef4df1c (patch) | |
tree | 28a353569b885c76e0d2db161204f664dc2694a8 /src | |
parent | Better hr margin (diff) | |
download | iro-design-4df45339569d50aeb8fd2b3743b92f91eef4df1c.tar.gz iro-design-4df45339569d50aeb8fd2b3743b92f91eef4df1c.tar.bz2 iro-design-4df45339569d50aeb8fd2b3743b92f91eef4df1c.zip |
Fix lightbox thumbnails when viewport too narrow
Diffstat (limited to 'src')
-rw-r--r-- | src/objects/_lightbox.scss | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss index 3e4037d..c2894ee 100644 --- a/src/objects/_lightbox.scss +++ b/src/objects/_lightbox.scss | |||
@@ -104,6 +104,7 @@ | |||
104 | @include iro.bem-elem('thumbnail-img') { | 104 | @include iro.bem-elem('thumbnail-img') { |
105 | display: block; | 105 | display: block; |
106 | width: fn.dim(--thumbnail --size); | 106 | width: fn.dim(--thumbnail --size); |
107 | min-width: fn.dim(--thumbnail --size); | ||
107 | height: fn.dim(--thumbnail --size); | 108 | height: fn.dim(--thumbnail --size); |
108 | object-fit: cover; | 109 | object-fit: cover; |
109 | object-position: center center; | 110 | object-position: center center; |