From b54840ace0776da06172cebda6236aeeece32d3c Mon Sep 17 00:00:00 2001 From: Marius Date: Fri, 20 Feb 2026 13:17:00 +0100 Subject: [PATCH] fix(agent-manager): left-align add-session button next to tabs (#519) The + button was pushed to the far right alongside the terminal button because the tab scroll area used flex:1 to fill all available space. Replace flex:1 with flex-shrink:1 so the scroll area only sizes to its content, keeping the + button immediately after the last tab. --- .../kilo-vscode/webview-ui/agent-manager/agent-manager.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 0b210f3ad..3cb5c2dbd 100644 --- a/packages/kilo-vscode/webview-ui/agent-manager/agent-manager.css +++ b/packages/kilo-vscode/webview-ui/agent-manager/agent-manager.css @@ -333,9 +333,10 @@ position: relative; display: flex; min-width: 0; - flex: 1; + flex-shrink: 1; align-items: stretch; height: 100%; + overflow: hidden; } /* Fade indicators for overflow */