fix misalignment due to schedule in flow editor top bar (#6983)

This commit is contained in:
Diego Imbert
2025-10-28 23:01:16 +01:00
committed by GitHub
parent 3413a856dc
commit e4a212ba82
2 changed files with 4 additions and 4 deletions
@@ -1011,7 +1011,7 @@
/>
</div>
<div class="gap-4 flex-row hidden md:flex w-full max-w-md">
<div class="gap-4 flex-row hidden md:flex w-full whitespace-nowrap max-w-md">
{#if triggersState.triggers?.some((t) => t.type === 'schedule')}
{@const primaryScheduleIndex = triggersState.triggers.findIndex((t) => t.isPrimary)}
{@const scheduleIndex = triggersState.triggers.findIndex((t) => t.type === 'schedule')}
@@ -1035,7 +1035,7 @@
{/if}
{#if customUi?.topBar?.path != false}
<div class="flex justify-start w-full">
<div class="flex justify-start items-center w-full">
<button
onclick={async () => {
select('settings-metadata')
@@ -1714,7 +1714,7 @@
<!-- Separator -->
<div class="flex-1"></div>
<div class="gap-4 flex">
<div class="gap-4 flex whitespace-nowrap">
{#if triggersState.triggers?.some((t) => t.type === 'schedule')}
{@const primarySchedule = triggersState.triggers.findIndex((t) => t.isPrimary)}
{@const schedule = triggersState.triggers.findIndex((t) => t.type === 'schedule')}
@@ -1737,7 +1737,7 @@
</Button>
{/if}
{#if customUi?.topBar?.path != false}
<div class="flex justify-start w-full">
<div class="flex justify-start w-full items-center">
{#if customUi?.topBar?.editablePath != false}
<button
onclick={async () => {