File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
www/packages/docs-ui/src/components/WorkflowDiagram Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const WorkflowDiagramLegend = ({
1111 hideLegend = false ,
1212} : WorkflowDiagramLegendProps ) => {
1313 return (
14- < div className = "flex gap-docs_0.5 mt-1 " >
14+ < div className = "flex gap-docs_0.5" >
1515 { ! hideLegend && (
1616 < >
1717 < div className = "flex items-center gap-docs_0.5" >
Original file line number Diff line number Diff line change @@ -13,14 +13,20 @@ export const WorkflowDiagramList = ({
1313 const clusters = createNodeClusters ( workflow . steps )
1414
1515 return (
16- < div className = "flex flex-col gap-docs_0.5 my-docs_1 workflow-list-diagram w-fit" >
17- { Object . entries ( clusters ) . map ( ( [ depth , cluster ] ) => {
18- const next = getNextCluster ( clusters , Number ( depth ) )
16+ < div className = "flex flex-col gap-docs_1 my-docs_1 w-fit" >
17+ < div className = "workflow-list-diagram flex flex-col gap-docs_0.5 w-fit" >
18+ { Object . entries ( clusters ) . map ( ( [ depth , cluster ] ) => {
19+ const next = getNextCluster ( clusters , Number ( depth ) )
1920
20- return (
21- < WorkflowDiagramListDepth cluster = { cluster } next = { next } key = { depth } />
22- )
23- } ) }
21+ return (
22+ < WorkflowDiagramListDepth
23+ cluster = { cluster }
24+ next = { next }
25+ key = { depth }
26+ />
27+ )
28+ } ) }
29+ </ div >
2430 < WorkflowDiagramLegend hideLegend = { hideLegend } />
2531 </ div >
2632 )
You can’t perform that action at this time.
0 commit comments