diff options
| author | Adam Soltys <[email protected]> | 2024-11-06 11:23:11 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-06 11:23:11 -0800 |
| commit | e78f596698f8d4618600f6feaba36ee97fc3228d (patch) | |
| tree | a4a55c8010cfb223246aaeb7a8323f81ab82f389 /src/routes/(app) | |
| parent | 6538101862114f89fc8a559b16f01b917888ac8c (diff) | |
| download | coinos-ui-e78f596698f8d4618600f6feaba36ee97fc3228d.tar.gz coinos-ui-e78f596698f8d4618600f6feaba36ee97fc3228d.zip | |
smaller icons
Diffstat (limited to 'src/routes/(app)')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+page.svelte | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index 29bf7943..4bbf582f 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -47,17 +47,10 @@ </button> </a> - {#if $installPrompt} - <button - class="rounded-2xl border py-5 px-6 font-bold hover:opacity-80 flex bg-black text-white xl:hidden w-full justify-center" - on:click={install} - > - <div class="mx-auto flex gap-2"> - <Icon icon="save" style="w-8 mx-auto invert" /> - <div class="my-auto text-xl whitespace-nowrap"> - {$t("user.install")} - </div> - </div> + {#if $installPrompt || true} + <button class="btn btn-accent" on:click={install}> + <iconify-icon icon="ph:floppy-disk-bold" width="32" /> + {$t("user.install")} </button> {/if} {/if} |
