Skip to content

Commit

Permalink
fix: #1447: fix tablet menu (#1458)
Browse files Browse the repository at this point in the history
* fix(minifront): #1447: fix tablet header menu

* chore: changesets
  • Loading branch information
VanishMax authored Jul 9, 2024
1 parent cbc2419 commit e7ebfb1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-jobs-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'minifront': patch
---

Fix tablet header menu styles
2 changes: 1 addition & 1 deletion apps/minifront/src/components/header/menu/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TabletNav } from './tablet-nav';

export const MenuBar = () => {
return (
<div className={cn('flex w-full items-center justify-between gap-8 list-none')}>
<div className={cn('flex w-full items-center justify-between sm:gap-8 list-none')}>
<MobileNav />
<DesktopNav />
<TabletNav />
Expand Down
2 changes: 1 addition & 1 deletion apps/minifront/src/components/header/menu/tablet-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const TabletNav = () => {
const navigate = useNavigate();

return (
<NavigationMenu.Root delayDuration={0}>
<NavigationMenu.Root delayDuration={0} className='relative'>
<NavigationMenu.Item className={cn('w-[138px]', ...itemStyle, 'hidden md:block xl:hidden')}>
<NavigationMenu.Trigger className={cn('group', 'text-left', 'text-muted', ...triggerStyle)}>
{metadata[pathname].title}
Expand Down

0 comments on commit e7ebfb1

Please sign in to comment.