From 1d20d27b17854a3420fe5b9df3749fdcc8f6c945 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 25 Jun 2023 21:21:20 +0300 Subject: [PATCH] reduce expanded image height on mobile --- files/assets/css/main.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 40f928217..647587821 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -6836,7 +6836,7 @@ div.markdown { } #desktop-expanded-image { max-width: 100%; - max-height: 80vh; + max-height: 70vh; border: 5px white solid; } #expandImageModal > .modal-dialog { @@ -6847,6 +6847,9 @@ div.markdown { margin-bottom: 0 !important; } @media (min-width: 768px) { + #desktop-expanded-image { + max-height: 80vh; + } #expandImageModal > .modal-dialog { max-width: 90% !important; }