From f5c87f1b287e78e55d65e33d1b04364a6d209fd8 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 9 Nov 2022 17:29:40 -0800 Subject: invoice spacing --- src/routes/(app)/invoice/[id]/+page.svelte | 126 ++++++++++++++--------------- 1 file changed, 63 insertions(+), 63 deletions(-) (limited to 'src') diff --git a/src/routes/(app)/invoice/[id]/+page.svelte b/src/routes/(app)/invoice/[id]/+page.svelte index ad985d07..f7f68f8e 100644 --- a/src/routes/(app)/invoice/[id]/+page.svelte +++ b/src/routes/(app)/invoice/[id]/+page.svelte @@ -77,86 +77,86 @@ -
-
-

-
+
+
+

Please pay

+ +

+
-
- {#if !user || user.username === username || showQr} -
- -
- - {#if address} -
{address}
- {/if} + {#if !user || user.username === username || showQr} +
+ +
-
- -
+ {#if address} +
{address}
{/if} -
- {#if invoice.tip} -
- {$t('invoice.invoice')} - - {f(amountFiat, currency)} - {`${sat(amount)}`} - -
- -
- {$t('invoice.tip')} - {f(tipAmount, currency)} - {`${sat(tip)}`} - -
- {/if} - - {#if amount > 0} -
- {$t('invoice.total')} - {f(amountFiat + parseFloat(tipAmount), currency)} - {`${sat(tip + amount)}`} -
- {/if} +
+
+ {/if} + +
+ {#if invoice.tip} +
+ {$t('invoice.invoice')} + + {f(amountFiat, currency)} + {`${sat(amount)}`} + +
- {#if user && user.username !== username} -
- - - -
{/if}
+ + {#if user && user.username !== username} +
+ + + + +
+ {/if}