Skip to content

Commit

Permalink
fix: change how we set height for nav
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoya committed Jan 31, 2025
1 parent 349beb6 commit 18ccdc8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/vibes/soul/primitives/navigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -313,14 +313,17 @@ export const Navigation = forwardRef(function Navigation<S extends SearchResult>

return (
<NavigationMenu.Root
className={clsx('relative mx-auto w-full max-w-screen-2xl @container', className)}
className={clsx(
'relative mx-auto flex min-h-16 w-full max-w-screen-2xl items-center @container',
className,
)}
delayDuration={0}
onValueChange={() => setIsSearchOpen(false)}
ref={ref}
>
<div
className={clsx(
'flex min-h-16 items-center justify-between gap-1 bg-[var(--nav-background,hsl(var(--background)))] py-2 pl-3 pr-2 transition-shadow @4xl:rounded-2xl @4xl:px-2 @4xl:pl-6 @4xl:pr-2.5',
'flex w-full items-center justify-between gap-1 bg-[var(--nav-background,hsl(var(--background)))] py-2 pl-3 pr-2 transition-shadow @4xl:rounded-2xl @4xl:px-2 @4xl:pl-6 @4xl:pr-2.5',
isFloating
? 'shadow-xl ring-1 ring-[var(--nav-floating-border,hsl(var(--foreground)/10%))]'
: 'shadow-none ring-0',
Expand Down

0 comments on commit 18ccdc8

Please sign in to comment.