feat: add viewport height tracking and improve scroll behavior on mobile

This commit is contained in:
weishu
2025-12-17 21:44:12 +08:00
parent 1b99c9422b
commit 3c7387f684
3 changed files with 36 additions and 19 deletions
+4 -1
View File
@@ -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%;