From c55bb523eec2aff3bb0d3926ceedbe47752f9d01 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 12 Jan 2024 12:42:44 +0100 Subject: Fix --- src/objects/_lightbox.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss index 93256a1..09a228b 100644 --- a/src/objects/_lightbox.scss +++ b/src/objects/_lightbox.scss @@ -72,10 +72,10 @@ display: none; box-sizing: border-box; grid-area: content; - max-width: 100%; - max-height: 100%; - margin: auto; + width: 100%; + height: 100%; padding: fn.dim(--pad); + object-fit: scale-down; @include iro.bem-sibling-elem('img') { @include iro.bem-modifier('default') { -- cgit v1.2.3-70-g09d2