From 266404c16f773afd755b324fe3ae4c0c88a129c4 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 26 Oct 2024 11:12:49 +0200 Subject: Fix --- src/objects/_lightbox.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss index dbcc3ab..092d676 100644 --- a/src/objects/_lightbox.scss +++ b/src/objects/_lightbox.scss @@ -28,8 +28,9 @@ display: block; grid-area: content; place-self: center; - size: auto; + inline-size: auto; max-inline-size: 100%; + block-size: auto; max-block-size: 80vh; padding: props.get(vars.$pad); margin-inline: auto; @@ -94,7 +95,8 @@ inset-block-start: 0; inset-inline-start: 0; display: block; - size: 100%; + inline-size: 100%; + block-size: 100%; object-fit: cover; object-position: center center; } -- cgit v1.2.3-70-g09d2