fix: eliminate black gap below bottom nav in iOS PWA standalone mode

iOS reserves the home indicator area outside the CSS viewport, leaving
a black strip below the bottom navigation. A fixed body::after pseudo-
element now fills this zone with the surface color. Also added explicit
background-color on body for consistent rendering.
This commit is contained in:
Ulas
2026-04-14 23:02:06 +02:00
parent 44d1b88e3d
commit d6d2c41bfa
4 changed files with 22 additions and 1 deletions
+1
View File
@@ -29,6 +29,7 @@ html {
body {
height: 100dvh;
overflow: hidden;
background-color: var(--color-bg);
}
img, svg, video {