From 21edf9743159eb4deabff49682a3d703ddc41acf Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Wed, 8 Jan 2025 21:08:38 +0100 Subject: [PATCH] Add fixed media rules for gallery items --- archivist/static/css/main.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archivist/static/css/main.css b/archivist/static/css/main.css index 074b546..74ea640 100644 --- a/archivist/static/css/main.css +++ b/archivist/static/css/main.css @@ -355,7 +355,7 @@ body{ @media (max-aspect-ratio: 1/1) { .gallery-item { - height: 30vh; + height: 30rem; } } @@ -363,7 +363,7 @@ body{ @media (max-height: 480px) { .gallery-item { - height: 80vh; + height: 80rem; } }