From aa28738d43b5f14db38026dcad2f28d625abfb3f Mon Sep 17 00:00:00 2001 From: Michael Reber Date: Tue, 18 Nov 2025 11:28:20 +0100 Subject: [PATCH] Fix scrollable background while open modal window --- pkg/web/templates/index.html | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/pkg/web/templates/index.html b/pkg/web/templates/index.html index aeaefa1..47dc344 100644 --- a/pkg/web/templates/index.html +++ b/pkg/web/templates/index.html @@ -108,6 +108,10 @@ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); } + body.modal-open { + overflow: hidden !important; + } + /* Custom tooltip styling */ .tooltip { position: relative; @@ -660,7 +664,7 @@ -