diff options
| author | Adam Soltys <[email protected]> | 2024-09-25 14:39:05 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-25 14:39:05 -0700 |
| commit | 401a8a4590e14f1b6dec65d510ee6717cf25a3b6 (patch) | |
| tree | 50b2153ca119f8ee5d55ed8ad410427fd365f49c /src/components | |
| parent | 33e3a5ccce1ec5b66a5ddbd7777423498ee7a7e6 (diff) | |
| download | coinos-ui-401a8a4590e14f1b6dec65d510ee6717cf25a3b6.tar.gz coinos-ui-401a8a4590e14f1b6dec65d510ee6717cf25a3b6.zip | |
reveal style
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Balance.svelte | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/components/Balance.svelte b/src/components/Balance.svelte index fb02cf60..62b387c8 100644 --- a/src/components/Balance.svelte +++ b/src/components/Balance.svelte @@ -15,13 +15,10 @@ <div> {#if user.haspin && !$pin} - <button - class="flex gap-2 text-xl rounded-2xl border py-5 px-6 hover:opacity-80 bg-black text-white font-bold" - on:click|preventDefault={() => (show = true)} - > - <Icon icon="eye" style="w-8 invert my-auto" /> - <div class="my-auto">{$t("user.showBalance")}</div></button - > + <button on:click|preventDefault={() => (show = true)} class="flex gap-2 text-xl"> + <Icon icon="eye-off" style="w-8 my-auto" /> + <div class="my-auto">{$t("user.showBalance")}</div> + </button> {:else} <div class="text-4xl font-bold tabular-nums"> {#if isNaN(rate)} |
