Skip to content

Commit

Permalink
fix: adjust snake-style wavy underline when menu is small
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiobrasileiroo committed Sep 7, 2024
1 parent 92e139c commit e431b30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,12 @@ export function Header() {
key={link.id}
className={cn(
'cursor-pointer',
pathname === link.href && 'underline',
pathname === link.href &&
'underline decoration-wavy underline-offset-[2px]',
)}
style={{
textDecorationSkipInk: 'none',
}}
href={link.href}
>
<li>{link.label}</li>
Expand Down

0 comments on commit e431b30

Please sign in to comment.