From 66f70bb32fbb18b6242408d6b0054b883d8b06fd Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 30 Dec 2022 06:00:29 +0200 Subject: [PATCH] restore main scrollbar --- files/assets/css/main.css | 7 ++++--- files/templates/default.html | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index f8c85418e..a7639ff7f 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -1842,7 +1842,8 @@ button.close { padding: 0.75rem; } .modal-open { - overflow: hidden; + overflow: auto !important; + padding-right: 0 !important; } .modal-open .modal { overflow-x: hidden; @@ -6451,11 +6452,11 @@ div.markdown { font-weight: bold; } -* { +body * { -ms-overflow-style: none; scrollbar-width: none; } -*::-webkit-scrollbar { +body *::-webkit-scrollbar { display: none; } diff --git a/files/templates/default.html b/files/templates/default.html index e8e2d372e..fadd6d299 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -79,7 +79,7 @@ {% endif %} -{{g.browser}} +{{g.browser}} {% if HOLIDAY_EVENT %} {% include "event/music.html" %}