Prevent pull-to-refresh on mobile

This commit is contained in:
2026-01-21 19:57:34 +07:00
parent 99aeee51bd
commit be921cf3ca

View File

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