get rid of android rubber band effect

This commit is contained in:
Paul Miller
2023-11-06 13:35:28 -06:00
committed by Tony Giorgio
parent ac45f5e879
commit efb8ce2b86
3 changed files with 19 additions and 5 deletions

View File

@@ -4,12 +4,11 @@
body {
@apply text-white;
@apply min-h-[100dvh] overflow-y-scroll overscroll-y-none safe-top safe-bottom disable-scrollbars;
@apply min-h-[100dvh] overflow-y-scroll safe-top safe-bottom disable-scrollbars;
}
html {
/* Fixed stops it from stretchy overscrolling (more app-like) */
@apply fixed inset-0 h-[100dvh] overflow-y-scroll overscroll-y-none disable-scrollbars;
@apply h-[100dvh];
@apply bg-neutral-900;
}