From a91c33ee4fd4f15f4b1de7e52f26e8092bbd85af Mon Sep 17 00:00:00 2001 From: glax Date: Thu, 25 May 2023 15:50:00 +0200 Subject: [PATCH] image sizing --- Website/style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Website/style.css b/Website/style.css index fdec4c3..c91cd16 100644 --- a/Website/style.css +++ b/Website/style.css @@ -370,8 +370,9 @@ publication-viewer img { position: absolute; left: 0; top: 0; - max-height: 100%; - max-width: 100%; + height: 100%; + width: 100%; + object-fit: cover; border-radius: 5px; z-index: 0; }