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 ( - <> - - - + ); }