From f80a9271728a0cd9555236d9d1cbbc85db57785c Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 12 Mar 2023 01:56:30 +0200 Subject: [PATCH] disallow scrolling in the backdrop of modals --- files/assets/css/main.css | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 5dc598022..78936c7f4 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -1837,8 +1837,7 @@ button.close { padding: 0.75rem; } .modal-open { - overflow: auto !important; - padding-right: 0 !important; + overflow: hidden !important; } .modal-open .modal { overflow-x: hidden; @@ -7138,10 +7137,6 @@ body { line-height: 2.3; } -.modal, body, nav { - padding-right: 0 !important; -} - .dm_img[alt^="![]("] { width: 200px; max-height: 100vh !important;