Skip to content

Commit

Permalink
fix styling issue with search button in header
Browse files Browse the repository at this point in the history
  • Loading branch information
chakany committed Aug 9, 2024
1 parent 69e4413 commit 4ec948e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@
action={openTag}
/>
</div>

<div class="flex gap-4 self-center flex-none">
<div class="block sm:hidden self-center">
<Button class="self-center w-10 h-10 flex justify-center px-1 py-1 bg-[#FFECE8]" on:click={() => searchActive = true}>
<SearchIcon class="self-center text-primary" size={16} weight="bold" />
<!-- for some reason if i have all of these selector classes then it styles correctly. wtf. -->
<Button class="self-center max-md:w-10 max-md:h-10 flex max-md:justify-center max-md:px-1 max-md:py-1 font-semibold !bg-[#FFECE8]" on:click={() => searchActive = true}>
<SearchIcon class="self-center text-primary" size={16} weight="bold" />
</Button>
</div>
{#if $userPublickey !== ''}
Expand Down

0 comments on commit 4ec948e

Please sign in to comment.