mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-29 10:26:23 +02:00
titlebar refactor
This commit is contained in:
parent
cbe34aec8e
commit
840ae4b9cb
5 changed files with 67 additions and 13 deletions
|
|
@ -267,9 +267,12 @@ export function SidebarContentPanel({
|
|||
|
||||
return (
|
||||
<Sidebar className="border-r-0" {...props}>
|
||||
<SidebarHeader>
|
||||
<SidebarHeader className="titlebar-drag-region">
|
||||
{/* Top spacer to clear the traffic lights + fixed toggle row */}
|
||||
<div className="h-8" />
|
||||
{/* Tab switcher - centered below the traffic lights row */}
|
||||
<div className="flex items-center px-2 py-1.5">
|
||||
<div className="flex w-full rounded-lg bg-sidebar-accent/50 p-0.5">
|
||||
<div className="titlebar-no-drag flex w-full rounded-lg bg-sidebar-accent/50 p-0.5">
|
||||
{sectionTabs.map((tab) => (
|
||||
<button
|
||||
key={tab.id}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue