Skip to content

Commit dd8020a

Browse files
committed
nit
1 parent c2bd48d commit dd8020a

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

frontend/src/lib/components/flows/map/FlowStickyNode.svelte

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,19 @@
2222
'outline outline-offset-1 outline-2 outline-slate-800 dark:bg-white/5 dark:outline-slate-400/60 dark:outline-gray-400'
2323
</script>
2424

25-
<div class="flex flex-row gap-2">
25+
<div class="flex flex-row gap-2 p-1.5 rounded shadow-md bg-surface">
2626
{#if !disableSettings}
2727
<button
2828
onclick={() => ($selectedId = 'settings-metadata')}
2929
class={twMerge(nodeClass, $selectedId?.startsWith('settings') ? nodeSelectedClass : '')}
3030
title="Settings"
3131
>
3232
<Settings size={16} />
33-
<span
34-
class="text-xs font-bold flex flex-row justify-between w-fit gap-2 items-center truncate ml-1"
35-
title="Settings"
36-
>
37-
<span class="h-[18px] flex items-center">
38-
{#if flowStore.val.value.same_worker}
39-
<Badge color="blue" baseClass="truncate">./shared</Badge>
40-
{/if}
33+
{#if flowStore.val.value.same_worker}
34+
<span class="ml-2 h-[18px] flex items-center">
35+
<Badge color="blue" baseClass="truncate">./shared</Badge>
4136
</span>
42-
</span>
37+
{/if}
4338
</button>
4439
{/if}
4540
{#if !disableStaticInputs}

0 commit comments

Comments
 (0)