From 9c94580d1719f0670410fa85b62dc7de440d2cb1 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Fri, 18 Jul 2025 16:52:16 +0300 Subject: [PATCH] docs: fix spacing between workflow steps and tooltip (#12994) --- .../WorkflowDiagram/Common/Legend/index.tsx | 2 +- .../components/WorkflowDiagram/List/index.tsx | 20 ++++++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/www/packages/docs-ui/src/components/WorkflowDiagram/Common/Legend/index.tsx b/www/packages/docs-ui/src/components/WorkflowDiagram/Common/Legend/index.tsx index 43675c8c9b..8f2ecac8a5 100644 --- a/www/packages/docs-ui/src/components/WorkflowDiagram/Common/Legend/index.tsx +++ b/www/packages/docs-ui/src/components/WorkflowDiagram/Common/Legend/index.tsx @@ -11,7 +11,7 @@ export const WorkflowDiagramLegend = ({ hideLegend = false, }: WorkflowDiagramLegendProps) => { return ( -
+
{!hideLegend && ( <>
diff --git a/www/packages/docs-ui/src/components/WorkflowDiagram/List/index.tsx b/www/packages/docs-ui/src/components/WorkflowDiagram/List/index.tsx index 6ea00a64d3..fae40ae504 100644 --- a/www/packages/docs-ui/src/components/WorkflowDiagram/List/index.tsx +++ b/www/packages/docs-ui/src/components/WorkflowDiagram/List/index.tsx @@ -13,14 +13,20 @@ export const WorkflowDiagramList = ({ const clusters = createNodeClusters(workflow.steps) return ( -
- {Object.entries(clusters).map(([depth, cluster]) => { - const next = getNextCluster(clusters, Number(depth)) +
+
+ {Object.entries(clusters).map(([depth, cluster]) => { + const next = getNextCluster(clusters, Number(depth)) - return ( - - ) - })} + return ( + + ) + })} +
)