From f09865ed0453c35ec4c8cd92e128884d2f739e08 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Thu, 8 Oct 2026 00:49:11 -0500 Subject: [PATCH] fix: header separators render as borders and center the status divider --- src/ui/components/panel-layout.tsx | 10 ++++++---- src/ui/shell/DockPanel.tsx | 22 +++++++++------------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/src/ui/components/panel-layout.tsx b/src/ui/components/panel-layout.tsx index 154e9068b..3071153e3 100644 --- a/src/ui/components/panel-layout.tsx +++ b/src/ui/components/panel-layout.tsx @@ -105,10 +105,9 @@ export function PanelShell({ className={`flex ${PANEL.header} shrink-0 flex-row items-center border-b border-border`} > {leading && ( - <> +
{leading} - - +
)}
{icon && {icon}} @@ -117,7 +116,10 @@ export function PanelShell({ {status && ( <> - + {status} diff --git a/src/ui/shell/DockPanel.tsx b/src/ui/shell/DockPanel.tsx index 77b1af3bd..cc4933766 100644 --- a/src/ui/shell/DockPanel.tsx +++ b/src/ui/shell/DockPanel.tsx @@ -8,7 +8,6 @@ import { RotateCcw, SquareArrowOutUpRight, } from "lucide-react"; -import { Separator } from "@/components/separator"; import { PANEL } from "@/components/panel-layout"; import type { EditingWidth } from "@/components/surface/surface-scope"; import { cn } from "@/lib/utils"; @@ -37,18 +36,15 @@ function HeaderButton({ children: React.ReactNode; }) { return ( - <> - - - + ); }