Skip to content

Commit ca0a1d8

Browse files
authored
Merge pull request #1440 from automagik-dev/fix/tui-overlay-narrow-pane
fix(tui): make overlay cards fit narrow Nav pane
2 parents b32f761 + 25d98ec commit ca0a1d8

5 files changed

Lines changed: 72 additions & 72 deletions

File tree

src/tui/components/AgentPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export function AgentPicker({ target, onConfirm, onCancel, loadAgents = defaultL
223223
borderStyle="rounded"
224224
borderColor={palette.borderActive}
225225
backgroundColor={palette.bgRaised}
226-
width={80}
226+
width="100%"
227227
flexDirection="column"
228228
paddingX={1}
229229
paddingY={1}

src/tui/components/ContextMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export function ContextMenu({ items, onAction, onClose, positionY = 0 }: Context
9393
borderStyle="rounded"
9494
borderColor={palette.borderActive}
9595
backgroundColor={palette.bgRaised}
96-
width={32}
96+
width="100%"
9797
height={inputMode ? items.length + 5 : items.length + 2}
9898
flexDirection="column"
9999
onMouseDown={(e: { stopPropagation?: () => void }) => e.stopPropagation?.()}

src/tui/components/SpawnTargetPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export function SpawnTargetPicker({ agentName, sessions, onConfirm, onCancel }:
220220
paddingX={2}
221221
paddingY={1}
222222
flexDirection="column"
223-
width={60}
223+
width="100%"
224224
gap={1}
225225
>
226226
<text>

src/tui/components/TeamCreate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export function TeamCreate({ availableAgents, workspaceRoot, onConfirm, onCancel
129129
paddingX={3}
130130
paddingY={1}
131131
flexDirection="column"
132-
width={64}
132+
width="100%"
133133
gap={1}
134134
>
135135
<text>

0 commit comments

Comments
 (0)