summaryrefslogtreecommitdiffstats
path: root/src/objects/_lightbox.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-08-23 13:12:04 +0200
committerVolpeon <git@volpeon.ink>2022-08-23 13:12:04 +0200
commit4df45339569d50aeb8fd2b3743b92f91eef4df1c (patch)
tree28a353569b885c76e0d2db161204f664dc2694a8 /src/objects/_lightbox.scss
parentBetter hr margin (diff)
downloadiro-design-4df45339569d50aeb8fd2b3743b92f91eef4df1c.tar.gz
iro-design-4df45339569d50aeb8fd2b3743b92f91eef4df1c.tar.bz2
iro-design-4df45339569d50aeb8fd2b3743b92f91eef4df1c.zip
Fix lightbox thumbnails when viewport too narrow
Diffstat (limited to 'src/objects/_lightbox.scss')
-rw-r--r--src/objects/_lightbox.scss1
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;