fix: prevent double scrollbar by locking html/body overflow

Added overflow: hidden to html and body, height: 100% to html/body/#root.
Only the <main> element inside AppLayout scrolls. This prevents the
browser's default body scroll from creating a second scrollbar alongside
the app's own scroll container.
This commit is contained in:
SnapOtter
2026-06-14 20:47:19 +08:00
parent ae959760e3
commit 914ff1b1aa
+10
View File
@@ -1,5 +1,15 @@
@import "tailwindcss";
html,
body {
height: 100%;
overflow: hidden;
}
#root {
height: 100%;
}
:root {
font-family:
"Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,