aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Amount.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-12-05 19:20:36 -0800
committerAdam Soltys <[email protected]>2024-12-05 19:20:36 -0800
commit53aecbf35d056fc4d70ef1ab12d3634b265f2c0b (patch)
tree5caa996fc2eca705fb793e79d63bfbf5f9f93e48 /src/components/Amount.svelte
parent9c7ade85841e4e608fd9d8468d19b42b79cd9868 (diff)
downloadcoinos-ui-53aecbf35d056fc4d70ef1ab12d3634b265f2c0b.tar.gz
coinos-ui-53aecbf35d056fc4d70ef1ab12d3634b265f2c0b.zip
cached rates
Diffstat (limited to 'src/components/Amount.svelte')
-rw-r--r--src/components/Amount.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Amount.svelte b/src/components/Amount.svelte
index 0fd29755..6dad13e0 100644
--- a/src/components/Amount.svelte
+++ b/src/components/Amount.svelte
@@ -25,14 +25,14 @@
{/if}
</h2>
<h3
- class="flex text-secondary md:text-lg cursor-copy"
+ class="flex text-secondary md:text-lg cursor-copy items-center gap-1"
class:justify-center={align !== "left"}
onclick={() => copy(toFiat(amount, rate).toFixed(2))}
>
{f(toFiat(amount, rate), currency, locale)}
{#if tip}
<span class="text-base">
- + {f(toFiat(tip, rate), currency, locale)}
+ +{f(toFiat(tip, rate), currency, locale)}
</span>
{/if}
</h3>