From 620bb927be08cb1e6930fe6f4227bc26dc9b4d75 Mon Sep 17 00:00:00 2001 From: marius-kilocode Date: Fri, 7 Aug 2026 10:30:33 +0200 Subject: [PATCH] fix(agent-manager): keep header actions resize safe --- .../webview-ui/agent-manager/agent-manager.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/kilo-vscode/webview-ui/agent-manager/agent-manager.css b/packages/kilo-vscode/webview-ui/agent-manager/agent-manager.css index fabf666ad83..88adf062704 100644 --- a/packages/kilo-vscode/webview-ui/agent-manager/agent-manager.css +++ b/packages/kilo-vscode/webview-ui/agent-manager/agent-manager.css @@ -281,15 +281,14 @@ html[data-theme="kilo-vscode"] .am-project-body .am-section-header { padding-left: 6px; + padding-right: 6px; } /* This heading sits outside the projects list, so it needs its own inset to land on the same glyph line as the rows inside the list. */ .am-projects > .am-section-header { padding-left: 2px; - /* The project toolbar has one more action than the worktree toolbar. Extend - its row so both toolbars start on the same leading action column. */ - margin-right: -14px; + padding-right: 2px; } .am-section-label { @@ -331,7 +330,11 @@ html[data-theme="kilo-vscode"] .am-project-actions { display: flex; align-items: center; - gap: 2px; + justify-content: space-between; + /* The project row needs 20px + 24px + 20px; the worktree row uses the + remaining space for its split-button and settings gap. */ + width: 64px; + gap: 0; } .am-project {