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}> <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