mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-14 05:39:08 +02:00
The top bar pads `pl-20` for the macOS traffic lights only when `state === "collapsed"`, but the shadcn sidebar also hides itself in mobile mode (<768px) where `state` stays `"expanded"` and only `isMobile` flips. In that case tabs slid under the traffic lights and no UI affordance existed to bring the sidebar back (since the in-sidebar trigger went off-canvas with it). Treat both as "sidebar not in main flow", apply the padding, and render a `SidebarTrigger` in the header (with `no-drag` so the window drag region doesn't swallow the click). Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>