From 644f10a3284e034ed5cd2e32f276efd7aff56723 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Fri, 20 Oct 2023 13:20:56 +0100 Subject: Link gallery images are object-fit:contain --- scss/modules/link-gallery.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/modules/link-gallery.scss b/scss/modules/link-gallery.scss index 2c2cdb7..c3788dc 100644 --- a/scss/modules/link-gallery.scss +++ b/scss/modules/link-gallery.scss @@ -16,7 +16,7 @@ max-width: 100%; max-height: 100%; margin: auto; - height: auto; + object-fit: contain; } } -- cgit v1.2.3