Skip to content

Commit

Permalink
fix(web): center mobile hamburger on landingv2
Browse files Browse the repository at this point in the history
  • Loading branch information
ferothefox committed Aug 14, 2023
1 parent e05d114 commit e78b625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/lib/components/layout/NavBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div
class="beatforge-page-navbar relative flex w-full items-center py-4 px-4 mx-auto max-w-7xl z-[100] text-sm font-bold justify-between"
>
<div class="flex md:hidden w-16">
<div class="flex md:hidden w-16 items-center justify-center">
<Dropdown>
<BarsThree slot="trigger" customClasses="h-5 w-5" />
</Dropdown>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/dropdown/Dropdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
} = createDropdownMenu()
</script>

<button use:melt={$trigger}>
<button class="p-4" use:melt={$trigger}>
<slot name="trigger"></slot>
</button>
{#if $open}
Expand Down

0 comments on commit e78b625

Please sign in to comment.