fix: flow editor design improvements

This commit is contained in:
Ruben Fiszel
2023-06-13 11:49:30 +02:00
parent eafb6edb45
commit d87e5ea4fe
2 changed files with 6 additions and 4 deletions
@@ -27,7 +27,7 @@
</script>
<div
class="overflow-x-auto scrollbar-hidden flex items-center justify-between px-4 py-1 border-b border-gray-100 space-x-2 flex-nowrap"
class="overflow-x-auto scrollbar-hidden flex items-center justify-between px-4 py-1 py-space-x-2 flex-nowrap"
>
{#if flowModule}
<span class="text-sm w-full mr-4">
@@ -219,9 +219,11 @@
/>
{/key}
{:else if flowModule.value.type === 'script'}
{#key forceReload}
<FlowModuleScript path={flowModule.value.path} hash={flowModule.value.hash} />
{/key}
<div class="border-t border-gray-200">
{#key forceReload}
<FlowModuleScript path={flowModule.value.path} hash={flowModule.value.hash} />
{/key}
</div>
{:else if flowModule.value.type === 'flow'}
<FlowPathViewer path={flowModule.value.path} />
{/if}