UI: align some buttons, fix #1651

This commit is contained in:
Pieter Vander Vennet 2023-10-09 02:53:30 +02:00
parent bde5878fed
commit 66c69602af

View file

@ -92,7 +92,7 @@
<LoginToggle ignoreLoading={true} {state}>
{#if currentState === "start"}
<button
class="flex"
class="flex items-center"
on:click={() => {
currentState = "confirm"
}}
@ -112,7 +112,7 @@
<button
slot="save-button"
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
class={twJoin(
@ -122,7 +122,7 @@
/>
<Tr t={t.delete} />
</button>
<button slot="cancel" on:click={() => (currentState = "start")}>
<button slot="cancel" class="items-center" on:click={() => (currentState = "start")}>
<Tr t={t.cancel} />
</button>
<XCircleIcon