Commit 5b40f27
fix(tui): center dialog properly and prevent overflow
Use justifyContent="center" instead of fixed paddingTop for true
vertical centering. Add maxHeight to prevent dialog from overflowing
when terminal is small.
Fixes anomalyco#7902
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 087473b commit 5b40f27
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | | - | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments