diff --git a/src/renderer/src/components/TaskPage.tsx b/src/renderer/src/components/TaskPage.tsx index 10e431fca..786538466 100644 --- a/src/renderer/src/components/TaskPage.tsx +++ b/src/renderer/src/components/TaskPage.tsx @@ -678,7 +678,7 @@ export default function TaskPage(): React.JSX.Element { const listLinearIssues = useAppStore((s) => s.listLinearIssues) const checkLinearConnection = useAppStore((s) => s.checkLinearConnection) // Why: in workspace view (a worktree is active) App.tsx hides its - // full-width titlebar, so this page renders its own 42px titlebar strip to + // full-width titlebar, so this page renders its own 36px titlebar strip to // keep the top band continuous with the sidebar header and tab rows. When // the sidebar is also collapsed, App.tsx floats its titlebar-left controls // (traffic lights, sidebar toggle, agent badge) over our strip — reserve @@ -1812,7 +1812,7 @@ export default function TaskPage(): React.JSX.Element { paint above our content and receive the click cleanly. */}
{/* Why: in workspace view App.tsx suppresses its full-width titlebar, - so render a matching 42px strip here to keep the top band + so render a matching 36px strip here to keep the top band continuous with the sidebar header and tab rows. When the sidebar is collapsed, App.tsx floats its titlebar-left controls (traffic lights, sidebar toggle, agent badge) over the top-left of this @@ -1825,7 +1825,7 @@ export default function TaskPage(): React.JSX.Element { non-workspace mode because App.tsx already owns the top titlebar and a second strip would produce a duplicate band. */} {workspaceActive ? ( -
+
{reserveCollapsedHeaderSpace ? ( // Why: the floating titlebar-left hosts real interactive chrome // (sidebar-expand toggle, agent badge) under this segment. Both @@ -1852,7 +1852,13 @@ export default function TaskPage(): React.JSX.Element {
) : null} -
+ {/* Why: pt-1.5 vertically centers this row's 32px icon cluster (X + + source toggles) with the sidebar's "Tasks" nav row. Sidebar Tasks + center sits 22px below the titlebar (pt-2 + py-1.5 + half size-4 + icon). Matching that here needs 6px top padding above the 32px + cluster (6 + 16 = 22). The previous pt-3 placed the cluster 6px + too low, breaking the visual band across the top chrome. */} +