mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
feat: add viewport height tracking and improve scroll behavior on mobile
This commit is contained in:
+4
-1
@@ -66,7 +66,10 @@
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
height: var(--tg-viewport-stable-height, 100dvh);
|
||||
overflow: hidden;
|
||||
touch-action: pan-x pan-y;
|
||||
overscroll-behavior: none;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
|
||||
Reference in New Issue
Block a user