From 4abcb74a24cff284842b132316f047b39d878d92 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 6 Nov 2022 21:36:11 -0800 Subject: invoice and popup styles --- src/components/Invoice.svelte | 44 +++++++++++++++++++++++------------------- src/components/Request.svelte | 45 +++++++++++++++++++++---------------------- 2 files changed, 46 insertions(+), 43 deletions(-) (limited to 'src/components') diff --git a/src/components/Invoice.svelte b/src/components/Invoice.svelte index 4b42f851..d68824a8 100644 --- a/src/components/Invoice.svelte +++ b/src/components/Invoice.svelte @@ -1,4 +1,5 @@ {#if $invoice} -
-
-
- -

{$invoice.user.username} sent an invoice

+
+
+
+
+ +

+ {$invoice.user.username} sent an invoice for + {f(($invoice.amount * $invoice.rate) / sats, $invoice.currency)} + {sat($invoice.amount)} +

+
-
-
- - + + - +
-
{/if} diff --git a/src/components/Request.svelte b/src/components/Request.svelte index 2c87d436..e1071272 100644 --- a/src/components/Request.svelte +++ b/src/components/Request.svelte @@ -7,31 +7,30 @@ {#if $request} -
-
-
- -

{$request.requester.username} is ready to pay

+
+
+
+
+ +

{$request.requester.username} is ready to pay

+
+ {#if $request.memo} +
{$request.memo}
+ {/if}
- {#if $request.memo} -
{$request.memo}
- {/if} -
-
- - + + - +
-
{/if} -- cgit v1.2.3