From b48c854f8854c9e9787eb7c3f07a4cf6d720d45b Mon Sep 17 00:00:00 2001 From: Bob Lee Date: Sun, 26 Apr 2026 18:28:38 +0800 Subject: [PATCH] fix(web-ui): align subagent items padding with tool card header Use header icon slot and right padding so nested subagent content lines up with the header content column. --- src/web-ui/src/flow_chat/components/modern/SubagentItems.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/web-ui/src/flow_chat/components/modern/SubagentItems.scss b/src/web-ui/src/flow_chat/components/modern/SubagentItems.scss index 9089dc25..1489286c 100644 --- a/src/web-ui/src/flow_chat/components/modern/SubagentItems.scss +++ b/src/web-ui/src/flow_chat/components/modern/SubagentItems.scss @@ -19,7 +19,9 @@ // Subagent container for items under the same parent task. .subagent-items-container { - padding: 12px 0; + // Match header right padding (10px). Left padding aligns subagent content + // with the header content column (past the icon rail). + padding: 12px 10px 12px var(--tool-card-header-icon-slot, 34px); // Continue the task card border on left/right/bottom; top border is hidden. background: var(--color-bg-flowchat);