Skip to content

Commit

Permalink
Merge pull request #59 from thebrandonlucas/missing-close-hamburger-icon
Browse files Browse the repository at this point in the history
Fix missing close icon on mobile/firefox
  • Loading branch information
DanGould authored Jan 26, 2024
2 parents 9f84172 + 2a4c6b7 commit 5a67b90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Link.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<span class="inline-flex gap-2 items-center">
<slot />
{#if icon}
<Icon name={icon} class="flex h-6" />
<Icon name={icon} class="flex h-6 w-6" />
{/if}
</span>
</a>
2 changes: 1 addition & 1 deletion src/features/Nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<div class="md:hidden flex items-center w-full" use:clickOutside={handleClose}>
<div class="flex flex-col items-center justify-center h-full gap-4 w-full">
<button on:click={handleClose}>
<Icon class="flex h-6 text-white" name="close" />
<Icon class="flex h-6 w-6 text-white" name="close" />
</button>

<!-- FIXME: choppy transitioning -->
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ If there is a wallet you’d like to see adopt payjoin or you are a wallet devel
class="w-full h-full max-sm:mb-4 sm:h-screen flex items-center justify-center max-sm:pt-24"
>
<div class="flex flex-col gap-4 items-center text-center w-2/3">
<Icon name="monad" class="w-24 text-primary" />
<Icon name="monad" class="h-24 w-24 text-primary" />
<H1>Payjoin</H1>
<h2 class="text-2xl text-white sm:text-4xl">
Scale Bitcoin, save fees, and preserve privacy all at once
Expand Down

0 comments on commit 5a67b90

Please sign in to comment.