From 1d0a1dc518cc003cbbd19dd009ff041022352c08 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 19 Jun 2022 13:37:03 +0200 Subject: Fixed lightbox --- src/objects/_lightbox.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss index 3f3bf59..019a8c4 100644 --- a/src/objects/_lightbox.scss +++ b/src/objects/_lightbox.scss @@ -61,7 +61,7 @@ @include iro.bem-elem('header') { grid-area: header; - padding: fn.dim(--pad); + padding: fn.dim(--pad) fn.dim(--pad) 0; } @include iro.bem-elem('img') { @@ -70,13 +70,14 @@ max-width: 100%; max-height: 100%; margin: auto; + padding: fn.dim(--pad) 0; } @include iro.bem-elem('thumbnails') { grid-area: thumbnails; display: flex; gap: fn.dim(--thumbnail --spacing); - padding: fn.dim(--pad); + padding: 0 fn.dim(--pad) fn.dim(--pad); overflow: auto; } -- cgit v1.2.3-70-g09d2