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 = ({
11
11
hideLegend = false ,
12
12
} : WorkflowDiagramLegendProps ) => {
13
13
return (
14
- < div className = "flex gap-docs_0.5 mt-1 " >
14
+ < div className = "flex gap-docs_0.5" >
15
15
{ ! hideLegend && (
16
16
< >
17
17
< 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 = ({
13
13
const clusters = createNodeClusters ( workflow . steps )
14
14
15
15
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 ) )
19
20
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 >
24
30
< WorkflowDiagramLegend hideLegend = { hideLegend } />
25
31
</ div >
26
32
)
You can’t perform that action at this time.
0 commit comments