From e5406ef66f2e3f43e45fcf92401f6f4b87dce796 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 26 Feb 2026 21:28:50 -0800 Subject: ui tweaks --- src/routes/(app)/payment/[id]/+page.svelte | 73 +++++++++++++++--------------- 1 file changed, 37 insertions(+), 36 deletions(-) (limited to 'src/routes/(app)/payment') diff --git a/src/routes/(app)/payment/[id]/+page.svelte b/src/routes/(app)/payment/[id]/+page.svelte index ca3d5b6a..80474a55 100644 --- a/src/routes/(app)/payment/[id]/+page.svelte +++ b/src/routes/(app)/payment/[id]/+page.svelte @@ -95,40 +95,41 @@ {/snippet} {#snippet copyable(label, value, href)} -
- {label} -
- - - {#if href} - - - - {/if} + + {#if href} + e.stopPropagation()} aria-label="View in explorer"> + + + {/if} +
+ {#if expanded.has(label)} +
+ {value} +
+ {/if} {/snippet} @@ -153,7 +154,7 @@ {/if}
- {format(new Date(created), "MMM d, yyyy", { locale })} · {format(new Date(created), "h:mmaaa", { locale })} + {format(new Date(created), "MMM d, yyyy", { locale })}{format(new Date(created), "h:mmaaa", { locale })}
@@ -167,7 +168,7 @@ {/if} -
+
{#if tip} {@render field("payments.amount", a)} {@render field("invoice.tip", tip)} @@ -215,8 +216,8 @@
{:else if memo} -
- {$t("payments.memo")} +
+ {$t("payments.memo")}
{#if memo.includes("text/plain")} {JSON.parse(memo)[0][1]} -- cgit v1.2.3