mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 00:00:46 +00:00
Frontend nit fixes (#7069)
* fix misaligned "Create from template" button * fix Drawer actions shrink / overflow
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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'}
|
||||
|
||||
@@ -372,7 +372,7 @@
|
||||
/>
|
||||
{#if emptyString(script_path)}
|
||||
<Button
|
||||
btnClasses="ml-4 mt-2"
|
||||
btnClasses="ml-4"
|
||||
variant="accent"
|
||||
size="xs"
|
||||
disabled={!can_write}
|
||||
|
||||
@@ -403,7 +403,7 @@
|
||||
/>
|
||||
{#if emptyString(script_path)}
|
||||
<Button
|
||||
btnClasses="ml-4 mt-2"
|
||||
btnClasses="ml-4"
|
||||
variant="accent"
|
||||
size="xs"
|
||||
disabled={!can_write}
|
||||
|
||||
@@ -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'}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -371,7 +371,7 @@
|
||||
/>
|
||||
{#if emptyString(script_path)}
|
||||
<Button
|
||||
btnClasses="ml-4 mt-2"
|
||||
btnClasses="ml-4"
|
||||
variant="accent"
|
||||
size="xs"
|
||||
disabled={!can_write}
|
||||
|
||||
@@ -447,7 +447,7 @@
|
||||
/>
|
||||
{#if emptyString(script_path)}
|
||||
<Button
|
||||
btnClasses="ml-4 mt-2"
|
||||
btnClasses="ml-4"
|
||||
variant="accent"
|
||||
size="xs"
|
||||
disabled={!can_write}
|
||||
|
||||
Reference in New Issue
Block a user