Update apps/ui/src/styles/global.css

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
gsxdsm
2026-02-17 19:39:32 -08:00
committed by GitHub
parent c7f515adde
commit f4e87d4c25

View File

@@ -389,13 +389,20 @@
body {
overflow: hidden;
overscroll-behavior: none;
-webkit-overflow-scrolling: touch;
position: fixed;
width: 100%;
height: 100%;
height: 100dvh;
}
/* iOS Safari: position:fixed on body prevents pull-to-refresh and overscroll bounce.
Scoped to touch devices only to avoid breaking desktop browser behaviours. */
`@media` (hover: none) and (pointer: coarse) {
html,
body {
position: fixed;
}
}
#app {
height: 100%;
height: 100dvh;