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 ( + + ) + })} +
)