From 2e61e8abbc318c36969cb5add0c63df81135b4ab Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 11 Feb 2026 23:02:30 -0800 Subject: formatting --- src/routes/(app)/payment/[id]/+page.svelte | 28 ++++++++++++------------ src/routes/(app)/payment/[id]/plain/+page.svelte | 9 ++------ 2 files changed, 16 insertions(+), 21 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 b8a4223d..643ce1ae 100644 --- a/src/routes/(app)/payment/[id]/+page.svelte +++ b/src/routes/(app)/payment/[id]/+page.svelte @@ -80,9 +80,7 @@ aria-label="Toggle currency display" > {#if $fiat} -
- {f(toFiat(amount, rate), currency, userLocale)} -
+
{f(toFiat(amount, rate), currency, userLocale)}
{:else}
@@ -136,8 +134,7 @@
- {s((1 * sats) / rate)} = - {f(1, currency, userLocale, 0, 0)} + {s((1 * sats) / rate)} = {f(1, currency, userLocale, 0, 0)}
@@ -146,8 +143,7 @@
{$t("payments.date")}
- {format(new Date(created), "h:mmaaa", { locale })} - {format(new Date(created), "MMM d, yyyy", { locale })} + {format(new Date(created), "h:mmaaa", { locale })}{format(new Date(created), "MMM d, yyyy", { locale })}
@@ -158,7 +154,8 @@ {:else if type === types.fund} - {$t( + + {$t( "payments.viewFund", )} @@ -166,7 +163,8 @@ {@const eid = JSON.parse(memo).tags.find((t) => t[0] === "e")[1]} Nostr - {$t( + + {$t( "payments.zappedEvent", )} @@ -198,11 +196,13 @@ {txid} + {txid} + - + {/if} @@ -212,8 +212,8 @@ Path
{path}
- +
{/if} diff --git a/src/routes/(app)/payment/[id]/plain/+page.svelte b/src/routes/(app)/payment/[id]/plain/+page.svelte index 87ad2207..ad582c02 100644 --- a/src/routes/(app)/payment/[id]/plain/+page.svelte +++ b/src/routes/(app)/payment/[id]/plain/+page.svelte @@ -67,19 +67,14 @@
Date -
- {format(new Date(created), "MMMM d")}, - {format(new Date(created), "h:mm aaa")} -
+
{format(new Date(created), "MMMM d")}, {format(new Date(created), "h:mm aaa")}
{#if type === "bitcoin"}
Txid
-
- {id} -
+
{id}
{/if} -- cgit v1.2.3