From 4df45339569d50aeb8fd2b3743b92f91eef4df1c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 23 Aug 2022 13:12:04 +0200 Subject: Fix lightbox thumbnails when viewport too narrow --- src/objects/_lightbox.scss | 1 + 1 file changed, 1 insertion(+) 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 @@ @include iro.bem-elem('thumbnail-img') { display: block; width: fn.dim(--thumbnail --size); + min-width: fn.dim(--thumbnail --size); height: fn.dim(--thumbnail --size); object-fit: cover; object-position: center center; -- cgit v1.2.3-70-g09d2