aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/payments
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-12-06 11:12:56 -0800
committerAdam Soltys <[email protected]>2024-12-06 11:12:56 -0800
commit00e2ae45aa1e7b2114e0ebb1d344d950e4fa09a3 (patch)
tree80f6ac5034a1ef4c1667c13787167c0dbd2be48a /src/routes/(app)/payments
parent1bcde4bf0ae386c999de34960b1575465d0ab541 (diff)
downloadcoinos-ui-00e2ae45aa1e7b2114e0ebb1d344d950e4fa09a3.tar.gz
coinos-ui-00e2ae45aa1e7b2114e0ebb1d344d950e4fa09a3.zip
fix payment buttons
Diffstat (limited to 'src/routes/(app)/payments')
-rw-r--r--src/routes/(app)/payments/[...page]/+page.svelte10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/routes/(app)/payments/[...page]/+page.svelte b/src/routes/(app)/payments/[...page]/+page.svelte
index 5204b35f..c19c38bd 100644
--- a/src/routes/(app)/payments/[...page]/+page.svelte
+++ b/src/routes/(app)/payments/[...page]/+page.svelte
@@ -170,10 +170,12 @@
<div class="container w-full mx-auto text-lg px-2 max-w-xl space-y-2">
<div class="mx-auto flex justify-center w-full gap-1">
{#each presets as { start, end, title }, i}
- <a href={`/payments/${getUnixTime(start) + "/"}1`}>
- <button class="btn" class:btn-active={selection === i}>
- <div class="my-auto">{title}</div>
- </button>
+ <a
+ href={`/payments/${getUnixTime(start)}/1`}
+ class="btn !w-auto"
+ class:!btn-active={selection === i}
+ >
+ {title}
</a>
{/each}
</div>