flow UX improvements

This commit is contained in:
Ruben Fiszel
2022-10-29 16:10:10 +02:00
parent 13cd06f45d
commit 7a3c8c4a0b

View File

@@ -8,7 +8,7 @@
const { select, selectedId, schedule } = getContext<FlowEditorContext>('FlowEditorContext')
$: settingsClass = classNames(
'border w-full rounded-md p-2 bg-white text-sm cursor-pointer flex items-center mb-4',
'border w-full rounded-md p-2 bg-white text-sm cursor-pointer flex items-center mb-4 sticky top-0 z-20',
$selectedId === 'settings' ? 'outline outline-offset-1 outline-2 outline-slate-900' : ''
)
</script>