From 4ab54270db598b355146c8ffc220f2cb0a1e572e Mon Sep 17 00:00:00 2001 From: anonymous Date: Sat, 10 Jan 2026 16:52:29 +0100 Subject: [PATCH] fix: enable sidebar expand and project switching on mobile - Sidebar now uses overlay pattern on mobile (fixed position when open) - Added backdrop overlay that dismisses sidebar on tap - Made collapse toggle button visible on all screen sizes - Made project options menu visible on all screen sizes Previously the sidebar was forced to collapsed width (w-16) on mobile even when sidebarOpen was true, and the toggle/options buttons were hidden with `hidden lg:flex`. --- apps/ui/src/components/layout/sidebar.tsx | 13 ++++++------- .../sidebar/components/collapse-toggle-button.tsx | 4 +--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/apps/ui/src/components/layout/sidebar.tsx b/apps/ui/src/components/layout/sidebar.tsx index a8c70cb6..be547e04 100644 --- a/apps/ui/src/components/layout/sidebar.tsx +++ b/apps/ui/src/components/layout/sidebar.tsx @@ -258,26 +258,25 @@ export function Sidebar() { return ( <> - {/* Mobile overlay backdrop */} + {/* Mobile backdrop overlay */} {sidebarOpen && (