diff --git a/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowChart.svelte b/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowChart.svelte index 9d0876cfd1..c4f83a128b 100644 --- a/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowChart.svelte +++ b/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowChart.svelte @@ -19,12 +19,18 @@ } -
+
{#each blocks as block, idx (block.id)} - - {#if idx !== blocks.length - 1} - - {/if} +
+ + {#if idx !== blocks.length - 1} + + {/if} +
{/each}
@@ -36,4 +42,11 @@ align-items: center; flex-direction: column; } + + .block { + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: center; + } diff --git a/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte b/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte index 9d6e322a96..2ee7b92539 100644 --- a/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte +++ b/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte @@ -1,6 +1,5 @@ -
+
{#if block.type === 'TRIGGER'}