Commit 83f1a64
committed
fix(init): remove centering wrapper to prevent left-side shift
The outer Box with alignItems=center was causing the content to
shift horizontally when prompt components mounted/unmounted —
Ink recalculated the centering offset as content changed. Remove
the wrapper entirely and render the inner box directly, which
left-aligns all content flush with the terminal edge.1 parent 2070265 commit 83f1a64
1 file changed
Lines changed: 1 addition & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 222 | + | |
233 | 223 | | |
234 | 224 | | |
235 | 225 | | |
| |||
0 commit comments