From 9fc47907229d6d5c1b01da163792ebbfd1c27927 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 28 Mar 2026 17:37:37 +0800 Subject: [PATCH] fix: tighten workflow timeline spacing --- .../agents/AgentWorkflowPanelDarkV2.tsx | 37 ++++++++----------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/components/agents/AgentWorkflowPanelDarkV2.tsx b/components/agents/AgentWorkflowPanelDarkV2.tsx index 51a39c653..84d474716 100644 --- a/components/agents/AgentWorkflowPanelDarkV2.tsx +++ b/components/agents/AgentWorkflowPanelDarkV2.tsx @@ -691,12 +691,7 @@ export function AgentWorkflowPanelDarkV2({ >
-
+
{flattenedResolvedSteps.map(({ step }, stepIndex) => { const completed = isAgentWorkflowStepSelectionComplete({ step, @@ -728,7 +723,7 @@ export function AgentWorkflowPanelDarkV2({ return ( -
+
-
+
{activeStepChildLabel ? ( ) : null} {stepSelectedPath.length > 0 ? ( -
+
{stepSelectedPath.map((option, optionIndex) => { const optionDepth = optionIndex + 1; const optionLevelActive = @@ -821,22 +816,22 @@ export function AgentWorkflowPanelDarkV2({ })}
) : ( - + 待选择 )}
- {stepIndex < flattenedResolvedSteps.length - 1 ? ( -
- ) : null}
+ {stepIndex < flattenedResolvedSteps.length - 1 ? ( +
+ ) : null} ); })}