Frontend nit fixes (#7069)

* fix misaligned "Create from template" button

* fix Drawer actions shrink / overflow
This commit is contained in:
Diego Imbert
2025-11-06 14:08:53 +01:00
committed by GitHub
parent 43247ce512
commit edc161d5d1
9 changed files with 9 additions and 9 deletions

View File

@@ -60,7 +60,7 @@
>
</div>
{#if actions}
<div class="flex gap-2 items-center justify-end">
<div class="flex gap-2 items-center justify-end shrink-0">
{@render actions?.()}
</div>
{/if}

View File

@@ -284,7 +284,7 @@
{#if emptyString(script_path)}
<Button
btnClasses="ml-4 mt-2"
btnClasses="ml-4"
variant="accent"
size="xs"
href={itemKind === 'flow' ? '/flows/add?hub=72' : '/scripts/add?hub=hub%2F19813'}

View File

@@ -372,7 +372,7 @@
/>
{#if emptyString(script_path)}
<Button
btnClasses="ml-4 mt-2"
btnClasses="ml-4"
variant="accent"
size="xs"
disabled={!can_write}

View File

@@ -403,7 +403,7 @@
/>
{#if emptyString(script_path)}
<Button
btnClasses="ml-4 mt-2"
btnClasses="ml-4"
variant="accent"
size="xs"
disabled={!can_write}

View File

@@ -385,7 +385,7 @@
/>
{#if emptyString(script_path)}
<Button
btnClasses="ml-4 mt-2"
btnClasses="ml-4"
variant="accent"
size="xs"
href={itemKind === 'flow' ? '/flows/add?hub=66' : '/scripts/add?hub=hub%2F19663'}

View File

@@ -556,7 +556,7 @@
<div class="flex">
<Button
disabled={!can_write}
btnClasses="ml-4 mt-2"
btnClasses="ml-4"
variant="accent"
size="xs"
on:click={getTemplateScript}

View File

@@ -1228,7 +1228,7 @@
/>
{#if !dynamicSkipPath}
<Button
btnClasses="ml-4 mt-2 whitespace-nowrap"
btnClasses="ml-4 whitespace-nowrap"
variant="default"
size="xs"
href="/scripts/add?hub=hub%2F19822%2Fwindmill%2Fdynamic_skip_template"

View File

@@ -371,7 +371,7 @@
/>
{#if emptyString(script_path)}
<Button
btnClasses="ml-4 mt-2"
btnClasses="ml-4"
variant="accent"
size="xs"
disabled={!can_write}

View File

@@ -447,7 +447,7 @@
/>
{#if emptyString(script_path)}
<Button
btnClasses="ml-4 mt-2"
btnClasses="ml-4"
variant="accent"
size="xs"
disabled={!can_write}