Skip to content

Commit

Permalink
fixed main menu active state
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Feb 24, 2024
1 parent 8529ed8 commit 2bd02fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/menu/main-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const MenuItem = ({id, url, title, activeTrail, children, level}: MenuItemProps)
leftPadding[level],
// Top menu item styles.
{
'lg:border-l-0 lg:border-b-[6px] ml-5 lg:ml-0 lg:-mb-3': level === 0,
'lg:border-l-0 lg:border-b-[6px] ml-5 lg:ml-0 lg:pb-2': level === 0,
'border-digital-red lg:border-black': level === 0 && isCurrent,
'border-transparent lg:border-foggy-dark': level === 0 && !isCurrent && inTrail,
'border-transparent': level === 0 && !isCurrent && !inTrail,
Expand Down

0 comments on commit 2bd02fa

Please sign in to comment.