From 165cc39a9ab8f560d9e00992496560cec930c792 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 21 Sep 2024 14:06:57 +0300 Subject: [PATCH] Set max-height on popup body Fixes #2886 --- public/css/popup.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/css/popup.css b/public/css/popup.css index 6809d7248..d184dc1fb 100644 --- a/public/css/popup.css +++ b/public/css/popup.css @@ -47,6 +47,10 @@ dialog { padding: 1px; } +.popup:not(:has(.img_enlarged_container)) .popup-body { + max-height: 95dvh; +} + .popup .popup-content { margin-top: 10px; padding: 0 8px;