Cap tool widget height and force auto-height on child statics
- SHA
01f3beb6b13d24ecd229d8adfaeb62ccf12af51b- Parents
-
d66908d - Tree
e4b4534
01f3beb
01f3beb6b13d24ecd229d8adfaeb62ccf12af51bd66908d
e4b4534| Status | File | + | - |
|---|---|---|---|
| M |
src/loader/ui/styles/theme.tcss
|
6 | 1 |
src/loader/ui/styles/theme.tcssmodified@@ -51,14 +51,19 @@ StatusLine { | ||
| 51 | 51 | color: $text-muted; |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | -/* Tool widgets */ | |
| 54 | +/* Tool widgets — height:auto so the colored border matches content */ | |
| 55 | 55 | ToolCallWidget { |
| 56 | 56 | height: auto; |
| 57 | + max-height: 30; | |
| 57 | 58 | margin: 0 0 1 0; |
| 58 | 59 | padding: 0 1; |
| 59 | 60 | border-left: thick $accent; |
| 60 | 61 | } |
| 61 | 62 | |
| 63 | +ToolCallWidget > Static { | |
| 64 | + height: auto; | |
| 65 | +} | |
| 66 | + | |
| 62 | 67 | ToolCallWidget.pending { |
| 63 | 68 | border-left: thick $warning; |
| 64 | 69 | } |