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 | dbb746bf404e7ed302c34b6631a170aff57c64c6 (patch) | |
| tree | 2985288bde4dad08ccdbcb6135032c184d8f5c6e /src/components | |
| parent | d0c8259bf3b52799b9e5dab884b4a2881fdcf7e7 (diff) | |
| download | coinos-ui-dbb746bf404e7ed302c34b6631a170aff57c64c6.tar.gz coinos-ui-dbb746bf404e7ed302c34b6631a170aff57c64c6.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> |
