Fix layout: 4-row grid for approval bar, height:auto on tool widgets
- SHA
e3cb8ed1295bfa53f0ac52ba6ecc094bd70c3195- Parents
-
7aa768e - Tree
359cb99
e3cb8ed
e3cb8ed1295bfa53f0ac52ba6ecc094bd70c31957aa768e
359cb99| Status | File | + | - |
|---|---|---|---|
| M |
src/loader/ui/styles/theme.tcss
|
3 | 2 |
src/loader/ui/styles/theme.tcssmodified@@ -4,11 +4,11 @@ Screen { | ||
| 4 | 4 | background: $surface; |
| 5 | 5 | } |
| 6 | 6 | |
| 7 | -/* Main layout */ | |
| 7 | +/* Main layout — 4 rows: message area, approval bar (auto-hidden), input, status */ | |
| 8 | 8 | #main-container { |
| 9 | 9 | layout: grid; |
| 10 | 10 | grid-size: 1; |
| 11 | - grid-rows: 1fr 3 1; | |
| 11 | + grid-rows: 1fr auto 3 1; | |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | #message-area { |
@@ -53,6 +53,7 @@ StatusLine { | ||
| 53 | 53 | |
| 54 | 54 | /* Tool widgets */ |
| 55 | 55 | ToolCallWidget { |
| 56 | + height: auto; | |
| 56 | 57 | margin: 0 0 1 0; |
| 57 | 58 | padding: 0 1; |
| 58 | 59 | border-left: thick $accent; |