diff options
| author | Adam Soltys <[email protected]> | 2026-02-13 12:11:11 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-13 12:11:11 -0800 |
| commit | 36dbfa6878819c59f6b83e6a20387945f6b04e82 (patch) | |
| tree | 6ee93731205c682452424c29ffe83ce5309c0baa /src/components/InvoiceData.svelte | |
| parent | c2acd85a9ab05463be16c14b677b36595fe0d594 (diff) | |
| download | coinos-ui-36dbfa6878819c59f6b83e6a20387945f6b04e82.tar.gz coinos-ui-36dbfa6878819c59f6b83e6a20387945f6b04e82.zip | |
ui tweaks
Diffstat (limited to 'src/components/InvoiceData.svelte')
| -rw-r--r-- | src/components/InvoiceData.svelte | 14 |
1 files changed, 7 insertions, 7 deletions
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 @@ </div> {/if} -{#if !showQr || txt?.length <= 120} - <div + <button data-testid="invoice-text" -onclick={() => 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} - </div> -{/if} + <span class="truncate">{txt}</span> + <iconify-icon noobserver icon="ph:copy-bold" width="32" class="shrink-0"></iconify-icon> + </button> {#each invoice.items as i} {@const itemTotal = i.price * i.quantity} |
