setMobileOpen(false)}
/>
)}
{mobileOpen && (
-
+
setMobileOpen(false)} />
)}
diff --git a/components/layouts/Sidebar.tsx b/components/layouts/Sidebar.tsx
index f0ca2cf..fa2cdcd 100644
--- a/components/layouts/Sidebar.tsx
+++ b/components/layouts/Sidebar.tsx
@@ -306,7 +306,7 @@ export function Sidebar({ collapsed, onToggle, overlay = false, variant = 'verti
className={cn(
'theme-sidebar flex flex-col bg-card border-r border-border transition-[width] duration-200 ease-out shrink-0',
detached ? 'h-full rounded-xl border shadow-md' : 'h-screen',
- overlay && 'fixed left-0 top-0 z-20',
+ overlay && 'fixed left-0 top-0 z-50',
collapsed ? 'w-[70px] min-w-[70px] max-w-[70px]' : overlay ? 'w-[min(260px,85vw)] max-w-[85vw]' : 'w-[260px] min-w-[260px] max-w-[260px]'
)}
>