From 33dc1f94a84de8cf89772a85eedcc1c4ab3d627f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 30 Dec 2021 10:28:07 +0100 Subject: Fix lightbox --- assets/css/components/_lightbox.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'assets') diff --git a/assets/css/components/_lightbox.scss b/assets/css/components/_lightbox.scss index 165e21c..f497a5e 100644 --- a/assets/css/components/_lightbox.scss +++ b/assets/css/components/_lightbox.scss @@ -26,6 +26,7 @@ justify-content: center; width: 100%; height: 100%; + padding-bottom: 3vh; transition: opacity .2s, visibility .2s; opacity: 0; @@ -56,12 +57,11 @@ } @include element('img') { - max-width: 100%; - min-height: 0; - max-height: 100%; - margin-top: auto; - margin-bottom: auto; - padding-bottom: 2rem; + max-width: 100%; + min-height: 0; + max-height: 100%; + margin-top: auto; + margin-bottom: auto; } @include element('close', 'prev', 'next') { -- cgit v1.2.3-54-g00ecf