From 060e8540226a23adc4e85a2e5f1082bb95cff0bc Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Mon, 20 Jul 2026 20:55:15 +0200 Subject: [PATCH] Fix: grauer Streifen unten bei offenem Popup (iOS Scroll-Lock) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit html bekommt jetzt die Theme-Hintergrundfarbe (+ overscroll-behavior:none), damit der iOS-position:fixed-Scroll-Lock beim Öffnen eines Dialogs keinen grauen Standard-Hintergrund unter der App freilegt. --- frontend/src/index.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index b55993c..23a7a59 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -27,7 +27,9 @@ button,.chip,.tile,.item,.wday,.cal-d,.ck,.swatch,.emoji-cell,.hm-c,#tabbar,.ste @keyframes viewfade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}} #app.vfade{animation:viewfade .18s ease} @media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}} -html{font-size:16px} +/* html carries the theme background too, so the iOS scroll-lock (position:fixed on body) + can never expose a grey strip below the app when a modal opens */ +html{font-size:16px;background:var(--bg);overscroll-behavior:none} body{ background:var(--bg); color:var(--txt); font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,sans-serif;