From be921cf3cac7c2eaf100fbb970901e3baa1bf86c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 21 Jan 2026 19:57:34 +0700 Subject: [PATCH] Prevent pull-to-refresh on mobile --- app/styles/app.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/styles/app.css b/app/styles/app.css index 14b9b48..a5c6dae 100644 --- a/app/styles/app.css +++ b/app/styles/app.css @@ -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); }