From 36dbfa6878819c59f6b83e6a20387945f6b04e82 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 13 Feb 2026 12:11:11 -0800 Subject: ui tweaks --- src/components/Account.svelte | 4 ++-- src/components/InvoiceActions.svelte | 13 +------------ src/components/InvoiceData.svelte | 14 +++++++------- 3 files changed, 10 insertions(+), 21 deletions(-) (limited to 'src/components') diff --git a/src/components/Account.svelte b/src/components/Account.svelte index f3f85b13..cc11587c 100644 --- a/src/components/Account.svelte +++ b/src/components/Account.svelte @@ -158,7 +158,7 @@
setAccount(e, "/invoice")}> - diff --git a/src/components/InvoiceActions.svelte b/src/components/InvoiceActions.svelte index 356fe18a..53447fec 100644 --- a/src/components/InvoiceActions.svelte +++ b/src/components/InvoiceActions.svelte @@ -66,18 +66,7 @@
- {#if txt?.length > 120} -
- -
- {/if} +
{#if aid === user.id} diff --git a/src/components/InvoiceData.svelte b/src/components/InvoiceData.svelte index 2852e97a..84a52308 100644 --- a/src/components/InvoiceData.svelte +++ b/src/components/InvoiceData.svelte @@ -50,15 +50,15 @@
{/if} -{#if !showQr || txt?.length <= 120} -
copy(txt)} aria-label="Copy invoice" - class="break-all text-center text-secondary text-xl flex gap-1 items-center justify-center" + onclick={() => copy(txt)} + aria-label="Copy invoice" + class="w-full text-center text-secondary text-xl flex gap-1 items-center justify-center cursor-pointer hover:opacity-70" > - {txt} -
-{/if} + {txt} + + {#each invoice.items as i} {@const itemTotal = i.price * i.quantity} -- cgit v1.2.3