Skip to content

Commit 2070265

Browse files
committed
fix(init): replace paddingRight with gap on split pane row
The paddingRight={1} on the left ActivityPane column caused inconsistent left-side spacing when the prompt was active vs dismissed — Ink's flex recalculation shifted content. Using gap={1} on the parent row instead spaces the panes evenly without affecting the content area width.
1 parent 2c0d25e commit 2070265

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

src/lib/init/ui/ink-app.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -390,13 +390,8 @@ function StatusScreen({
390390
const showTips = terminalRows >= 24;
391391

392392
return (
393-
<Box flexDirection="row" flexGrow={1} flexShrink={1}>
394-
<Box
395-
flexDirection="column"
396-
flexGrow={1}
397-
overflow="hidden"
398-
paddingRight={1}
399-
>
393+
<Box flexDirection="row" flexGrow={1} flexShrink={1} gap={1}>
394+
<Box flexDirection="column" flexGrow={1} overflow="hidden">
400395
<ActivityPane
401396
bannerRows={bannerRows}
402397
logs={logs}

0 commit comments

Comments
 (0)