Prevent pull-to-refresh on mobile

This commit is contained in:
Râu Cao 2026-01-21 19:57:34 +07:00
parent 99aeee51bd
commit be921cf3ca
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -3,6 +3,7 @@
html,
body {
height: 100%;
overscroll-behavior: none; /* Prevent pull-to-refresh on mobile */
}
body {
@ -328,6 +329,7 @@ span.icon {
.sidebar-content {
overflow-y: auto;
overscroll-behavior: contain; /* Prevent scroll chaining */
/* Ensure content doesn't get hidden behind bottom safe areas on mobile */
padding-bottom: env(safe-area-inset-bottom, 20px);
}