diff options
| author | Adam Soltys <[email protected]> | 2024-02-26 14:35:21 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-02-26 14:35:21 -0800 |
| commit | cc71026116ff0753b2ed5cf9d3e3e4726058f8bb (patch) | |
| tree | de2eec266566f93b86a5331e18aa903802349e17 /src | |
| parent | 00aeda102b96b7932f3526f92a5dbf6160821a73 (diff) | |
| download | coinos-ui-cc71026116ff0753b2ed5cf9d3e3e4726058f8bb.tar.gz coinos-ui-cc71026116ff0753b2ed5cf9d3e3e4726058f8bb.zip | |
revert icons
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/AppHeader.svelte | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte index c2341c70..731f0260 100644 --- a/src/components/AppHeader.svelte +++ b/src/components/AppHeader.svelte @@ -53,29 +53,29 @@ {#if user} <a href={`/${user.username}`}> <button - class="bg-white p-2 rounded-full w-16 h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/${user.username}` ? 'opacity-100' : 'opacity-70 hover:opacity-80'}" - ><Icon icon="home" style="mx-auto w-8" /> + ><Icon icon="home" style="mx-auto w-6 sm:w-8" /> </button> </a> <a href={`/${user.username}/receive`}> <button - class="bg-white p-2 rounded-full w-16 h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/${user.username}/receive` ? 'opacity-100' : 'opacity-70 hover:opacity-80'}" - ><Icon icon="numpad" style="mx-auto w-8" /> + ><Icon icon="numpad" style="mx-auto w-6 sm:w-8" /> </button> </a> <a href={`/${user.username}/payments`}> <button - class="bg-white p-2 rounded-full w-16 h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/${user.username}/payments` ? 'opacity-100' : 'opacity-70 hover:opacity-80'} relative" - ><Icon icon="clock" style="mx-auto w-8" /> + ><Icon icon="clock" style="mx-auto w-6 sm:w-8" /> {#if $newPayment} <span class="absolute top-0 right-0"> <span class="flex h-3 w-3"> @@ -92,17 +92,17 @@ </a> <a href={`/send`}> <button - class="bg-white p-2 rounded-full w-16 h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/send` ? 'opacity-100' : 'opacity-70 hover:opacity-80'}" - ><Icon icon="send" style="mx-auto w-8" /> + ><Icon icon="send" style="mx-auto w-6 sm:w-8" /> </button> </a> <div class="relative"> <OutClick on:outclick={() => (showMenu = false)}> <button - class="bg-white p-2 rounded-full w-16 h-16 drop-shadow-xl border border-black/10 {$page + class="bg-white p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl border border-black/10 {$page .url.pathname === `/${user.username}` || $page.url.pathname === `/${user.username}/settings` || $page.url.pathname === `/support` @@ -111,7 +111,7 @@ showMenu ? 'opacity-80' : '' }`}" on:click={() => (showMenu = !showMenu)} - ><Icon icon="menu" style="mx-auto w-8" /> + ><Icon icon="menu" style="mx-auto w-6 sm:w-8" /> </button> <div @@ -125,7 +125,7 @@ <a {href} data-sveltekit-prefetch="off"> <button class="flex justify-center items-center font-semibold hover:opacity-80" - ><Icon {icon} style="mr-2 w-8" /> {$t(key)} + ><Icon {icon} style="mr-2 w-6 sm:w-8" /> {$t(key)} </button> </a> </li> |
