Fix: grauer Streifen unten bei offenem Popup (iOS Scroll-Lock)
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.
This commit is contained in:
1 parent
ca6fd7c4d6
commit
060e854022
1 file changed
+3
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user