summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-19 13:37:03 +0200
committerVolpeon <git@volpeon.ink>2022-06-19 13:37:03 +0200
commit1d0a1dc518cc003cbbd19dd009ff041022352c08 (patch)
tree9b8bb4fef0e4499e4059e5e6c0ac992a494d706a /src
parentImproved lightbox (diff)
downloadiro-design-1d0a1dc518cc003cbbd19dd009ff041022352c08.tar.gz
iro-design-1d0a1dc518cc003cbbd19dd009ff041022352c08.tar.bz2
iro-design-1d0a1dc518cc003cbbd19dd009ff041022352c08.zip
Fixed lightbox
Diffstat (limited to 'src')
-rw-r--r--src/objects/_lightbox.scss5
1 files changed, 3 insertions, 2 deletions
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 @@
61 61
62 @include iro.bem-elem('header') { 62 @include iro.bem-elem('header') {
63 grid-area: header; 63 grid-area: header;
64 padding: fn.dim(--pad); 64 padding: fn.dim(--pad) fn.dim(--pad) 0;
65 } 65 }
66 66
67 @include iro.bem-elem('img') { 67 @include iro.bem-elem('img') {
@@ -70,13 +70,14 @@
70 max-width: 100%; 70 max-width: 100%;
71 max-height: 100%; 71 max-height: 100%;
72 margin: auto; 72 margin: auto;
73 padding: fn.dim(--pad) 0;
73 } 74 }
74 75
75 @include iro.bem-elem('thumbnails') { 76 @include iro.bem-elem('thumbnails') {
76 grid-area: thumbnails; 77 grid-area: thumbnails;
77 display: flex; 78 display: flex;
78 gap: fn.dim(--thumbnail --spacing); 79 gap: fn.dim(--thumbnail --spacing);
79 padding: fn.dim(--pad); 80 padding: 0 fn.dim(--pad) fn.dim(--pad);
80 overflow: auto; 81 overflow: auto;
81 } 82 }
82 83