diff --git a/src/renderer/src/components/NewWorkspaceComposerModal.tsx b/src/renderer/src/components/NewWorkspaceComposerModal.tsx index b604d172722..a6e3d1721e7 100644 --- a/src/renderer/src/components/NewWorkspaceComposerModal.tsx +++ b/src/renderer/src/components/NewWorkspaceComposerModal.tsx @@ -141,15 +141,6 @@ function ComposerModalBody({ trigger?.focus({ preventScroll: true }) }} > - - Create Workspace - - {activeTab === 'quick' - ? 'Pick a repository and agent to spin up a new workspace.' - : 'Start from an existing PR, issue, branch, or Linear ticket.'} - - - setActiveTab(next as 'quick' | 'create-from')} @@ -164,12 +155,17 @@ function ComposerModalBody({ read as "tabs" — the default pill variant fought the sub-tabs inside Create-from for visual weight. The bottom border on the list gives it clear separation from the content below. */} + {/* Why: DialogContent has p-6 (24px top) and the close button sits + absolutely at top-4 (16px), so its 16px icon centers around 24px + from the top. Pull the h-8 tab list up with -mt-4 so its center + (8 + 16 = 24px) lines up with the X on the same row. Reserve + right padding so the last trigger doesn't slide under the X. */} - Quick + Form {tabShortcut.quick} @@ -178,6 +174,15 @@ function ComposerModalBody({ + + Create Workspace + + {activeTab === 'quick' + ? 'Pick a repository and agent to spin up a new workspace.' + : 'Start from an existing PR, issue, branch, or Linear ticket.'} + + + {{ quick: (