fix: lock html/body to 100dvh overflow hidden on all screen sizes

All views that need scroll use their own overflow-y: auto containers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Julien Calixte
2026-03-28 22:35:11 +01:00
parent 8b3df48791
commit 72d065975d

View File

@@ -49,22 +49,11 @@
} }
} }
html {
overflow-y: auto;
overflow-x: auto;
}
body {
height: 100dvh;
scroll-behavior: smooth;
overflow-y: auto;
}
@media screen and (min-width: 769px) {
html, html,
body { body {
overflow-y: hidden; height: 100dvh;
} overflow: hidden;
scroll-behavior: smooth;
} }
.columns { .columns {