From f9b63fda3dca9a5ea8de225335ef383f96aea05e Mon Sep 17 00:00:00 2001 From: DeveloperViraj Date: Wed, 1 Oct 2025 18:59:00 +0530 Subject: [PATCH] fix: replace hardcoded sidebar width (342px) with responsive Tailwind class --- src/components/Layout/SidebarNav/SidebarNav.tsx | 2 +- src/components/Layout/TopNav/TopNav.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Layout/SidebarNav/SidebarNav.tsx b/src/components/Layout/SidebarNav/SidebarNav.tsx index 77beb4d7298..0d81d41a05c 100644 --- a/src/components/Layout/SidebarNav/SidebarNav.tsx +++ b/src/components/Layout/SidebarNav/SidebarNav.tsx @@ -41,7 +41,7 @@ export default function SidebarNav({ 'sticky top-0 lg:bottom-0 lg:h-[calc(100vh-4rem)] flex flex-col' )}>
diff --git a/src/components/Layout/TopNav/TopNav.tsx b/src/components/Layout/TopNav/TopNav.tsx index 148098933d5..0b8f832d0a8 100644 --- a/src/components/Layout/TopNav/TopNav.tsx +++ b/src/components/Layout/TopNav/TopNav.tsx @@ -403,7 +403,7 @@ export default function TopNav({ {isMenuOpen && (
+ className="overflow-y-scroll isolate no-bg-scrollbar lg:w-80 grow bg-wash dark:bg-wash-dark">