mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-17 10:03:08 +00:00
Update apps/ui/src/styles/global.css
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user