From e953bf4c8c78033554d5a519f8840a1ff4843963 Mon Sep 17 00:00:00 2001 From: seb Date: Tue, 20 Oct 2026 01:01:53 +0200 Subject: [PATCH] u --- src/index.css | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/index.css b/src/index.css index 9d287be..fdc338c 100644 --- a/src/index.css +++ b/src/index.css @@ -58,10 +58,15 @@ html.df-chat-open #root { background-color: #ffffff; } -/* While any AppDialog is open, the reserved scrollbar-gutter strip must read - as fog, not app background. AppDialog toggles `df-dialog-open` on - (ref-counted for stacked dialogs). The solid fog token is published by - src/colors.js (installCssVars) with a hard-coded fallback. */ +/* While any AppDialog is open, lock page scrolling in the background and ensure + the reserved scrollbar-gutter strip reads as fog, not app background. AppDialog + toggles `df-dialog-open` on (ref-counted for stacked dialogs). The solid + fog token is published by src/colors.js (installCssVars) with a hard-coded fallback. */ +html.df-dialog-open, +html.df-dialog-open body { + overflow: hidden !important; +} + html.df-dialog-open, html.df-dialog-open body, html.df-dialog-open #root {