From 46f3d5f91c7e3d1a748fcb45330220e78592ed13 Mon Sep 17 00:00:00 2001 From: Antigravity Date: Thu, 19 Nov 2026 10:01:06 +0530 Subject: [PATCH] fix(layout): lock sidebar and topbar as fixed in viewport with independent scrollable main content --- frontend/src/components/layout/AppShell.tsx | 6 +++--- frontend/src/components/layout/Sidebar.tsx | 2 +- frontend/src/components/layout/TopBar.tsx | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/layout/AppShell.tsx b/frontend/src/components/layout/AppShell.tsx index bded685..89cb565 100644 --- a/frontend/src/components/layout/AppShell.tsx +++ b/frontend/src/components/layout/AppShell.tsx @@ -8,14 +8,14 @@ export function AppShell() { const [mobileNavOpen, setMobileNavOpen] = useState(false); return ( -
+
setMobileNavOpen(false)} /> -
+
setMobileNavOpen(true)} /> -
+
diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index 8933a24..6813591 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -95,7 +95,7 @@ export function Sidebar({ mobileOpen, onClose }: SidebarProps = {}) { const asideContent = (