diff options
| author | Adam Soltys <[email protected]> | 2024-10-14 10:52:01 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-14 10:52:01 -0700 |
| commit | 170b92499b30d5bae3dd0b470f434628ab48c8da (patch) | |
| tree | 2985288bde4dad08ccdbcb6135032c184d8f5c6e /src/components | |
| parent | d65c2fe98232e3bb2b7c77c7b9b13fe765de38c7 (diff) | |
| download | coinos-ui-170b92499b30d5bae3dd0b470f434628ab48c8da.tar.gz coinos-ui-170b92499b30d5bae3dd0b470f434628ab48c8da.zip | |
not last
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Account.svelte | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/components/Account.svelte b/src/components/Account.svelte index 2a754934..96aa1964 100644 --- a/src/components/Account.svelte +++ b/src/components/Account.svelte @@ -13,7 +13,12 @@ let setAccount = () => (document.cookie = `aid=${id}; path=/; max-age=86400`); </script> -<a href={`/payments`} class="block space-y-2 border-b-8 border-black py-4" class:border-b-0={last} on:click={setAccount}> +<a + href={`/payments`} + class="block space-y-2 border-black py-4" + class:border-b-8={!last} + on:click={setAccount} +> <div class="flex"> <Balance {balance} {user} {rate} /> <a href={`/payments`} class="contents" on:click={setAccount}> @@ -30,9 +35,7 @@ <div class="flex justify-center w-full text-xl gap-2"> <a href={`/invoice`} class="contents" on:click={setAccount}> - <button - class="py-5 px-6 hover:opacity-80 flex grow rounded-2xl" - > + <button class="py-5 px-6 hover:opacity-80 flex grow rounded-2xl"> <div class="mx-auto flex gap-2"> <Icon icon="receive" style="w-8" /> <div class="my-auto">{$t("user.dashboard.receive")}</div> |
