From 80925e3b28f46f7995b94dc332be017426730995 Mon Sep 17 00:00:00 2001 From: muzzlol Date: Mon, 10 Nov 2025 19:16:42 +0530 Subject: [PATCH] fix: restore pull-to-refresh while maintaining overscroll bounce prevention of page Previous changes to prevent overscroll bounce behavior accidentally removed pull-to-refresh functionality on mobile browsers. This fixes both issues by making the navbar properly fixed and ensuring the background color is correctly applied to the page. --- src/components/Navbar.tsx | 7 ++++--- src/styles/app.css | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 8ea894e9..e0189ecc 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -145,7 +145,7 @@ export function Navbar({ children }: { children: React.ReactNode }) { const navbar = (
{smallMenu} diff --git a/src/styles/app.css b/src/styles/app.css index b4f579c8..3cd5dd0b 100644 --- a/src/styles/app.css +++ b/src/styles/app.css @@ -2,7 +2,7 @@ @plugin "@tailwindcss/typography"; -@custom-variant dark (&:is(.dark *)); +@custom-variant dark (&:is(.dark, .dark *)); @custom-variant light (&:is(.light, .light *)); @custom-variant auto (&:is(.auto, .auto *)); @custom-variant aria-current (&[aria-current="location"]); @@ -68,7 +68,6 @@ button { html, body { @apply text-gray-900 bg-gray-50 dark:bg-gray-900 dark:text-gray-200; - overscroll-behavior: none; } .using-mouse * {