UI: align some buttons, fix #1651
This commit is contained in:
parent
bde5878fed
commit
66c69602af
1 changed files with 3 additions and 3 deletions
|
@ -92,7 +92,7 @@
|
||||||
<LoginToggle ignoreLoading={true} {state}>
|
<LoginToggle ignoreLoading={true} {state}>
|
||||||
{#if currentState === "start"}
|
{#if currentState === "start"}
|
||||||
<button
|
<button
|
||||||
class="flex"
|
class="flex items-center"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
currentState = "confirm"
|
currentState = "confirm"
|
||||||
}}
|
}}
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
<button
|
<button
|
||||||
slot="save-button"
|
slot="save-button"
|
||||||
on:click={onDelete}
|
on:click={onDelete}
|
||||||
class={twJoin(selectedTags === undefined && "disabled", "primary flex bg-red-600")}
|
class={twJoin(selectedTags === undefined && "disabled", "primary flex bg-red-600 items-center")}
|
||||||
>
|
>
|
||||||
<TrashIcon
|
<TrashIcon
|
||||||
class={twJoin(
|
class={twJoin(
|
||||||
|
@ -122,7 +122,7 @@
|
||||||
/>
|
/>
|
||||||
<Tr t={t.delete} />
|
<Tr t={t.delete} />
|
||||||
</button>
|
</button>
|
||||||
<button slot="cancel" on:click={() => (currentState = "start")}>
|
<button slot="cancel" class="items-center" on:click={() => (currentState = "start")}>
|
||||||
<Tr t={t.cancel} />
|
<Tr t={t.cancel} />
|
||||||
</button>
|
</button>
|
||||||
<XCircleIcon
|
<XCircleIcon
|
||||||
|
|
Loading…
Reference in a new issue