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
commitf193c6d18f839a9068e80c07589c66620b8ee84b (patch)
tree80f6ac5034a1ef4c1667c13787167c0dbd2be48a /src/routes/(app)/payments
parent8668c35c9a76c747429416a2e7b745119d50a92a (diff)
downloadcoinos-ui-f193c6d18f839a9068e80c07589c66620b8ee84b.tar.gz
coinos-ui-f193c6d18f839a9068e80c07589c66620b8ee84b.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>