aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/AppHeader.svelte22
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>