From f822b29a868deb738ea7a8e15b00b953ca59f9f6 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Thu, 1 Oct 2026 05:19:34 +0800 Subject: [PATCH] fix(terminal): stand the docked composer as far in from the bottom as from the sides Docked under the grid, the box sits inside the pane's padding, and only the side inset took it off: the box stood 20px up from the pane's bottom and 16px in from its sides, where it covers an agent's input 16px from all three. --- src/terminal/composer.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/terminal/composer.rs b/src/terminal/composer.rs index 585be7c0..bf4b7db6 100644 --- a/src/terminal/composer.rs +++ b/src/terminal/composer.rs @@ -1563,8 +1563,9 @@ impl TerminalView { .flex_none() .w_full() .pt(px(8.)) + // The pane's own padding is already between it and the edges. .px(px(BOX_INSET - GRID_PAD_X)) - .pb(px(BOX_INSET)) + .pb(px(BOX_INSET - GRID_PAD_Y)) .child(frame) .into_any_element(), };