From d393b5f1389bfd16dd1ac23c4dd2cf3f972b8a72 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 28 Mar 2026 17:15:47 +0800 Subject: [PATCH] fix: align workflow timeline labels inline --- .../agents/AgentWorkflowPanelDarkV2.tsx | 88 ++++++++++--------- 1 file changed, 45 insertions(+), 43 deletions(-) diff --git a/components/agents/AgentWorkflowPanelDarkV2.tsx b/components/agents/AgentWorkflowPanelDarkV2.tsx index fdf9992fc..7359c5a4e 100644 --- a/components/agents/AgentWorkflowPanelDarkV2.tsx +++ b/components/agents/AgentWorkflowPanelDarkV2.tsx @@ -728,7 +728,7 @@ export function AgentWorkflowPanelDarkV2({ return ( -
+
+
{activeStepChildLabel ? ( {activeStepChildLabel} ) : null} - - {stepSelectedPath.length > 0 ? ( -
+ {stepSelectedPath.length > 0 ? ( +
{stepSelectedPath.map((option, optionIndex) => { const optionDepth = optionIndex + 1; const optionLevelActive = @@ -818,12 +819,13 @@ export function AgentWorkflowPanelDarkV2({ ); })} -
- ) : ( - - 待选择 - - )} +
+ ) : ( + + 待选择 + + )} +
{stepIndex < flattenedResolvedSteps.length - 1 ? (