Skip to content

Commit afc64e8

Browse files
committed
Unify navbar hover style with hitbox
1 parent a2270b3 commit afc64e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/navbar/navbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function NavbarMenu({
4949
key={key}
5050
href={item.href || routes[key]?.route}
5151
target={item.newWindow ? "_blank" : undefined}
52-
className="block py-3.5 pl-2 pr-9"
52+
className="block py-3.5 pl-2 pr-9 underline-offset-2 hover:underline focus-visible:underline"
5353
closeOnClick
5454
render={(
5555
props: React.ComponentPropsWithoutRef<"a">,
@@ -58,7 +58,7 @@ function NavbarMenu({
5858
<Anchor {...props} href={props.href!}>
5959
<span
6060
className={clsx(
61-
"typography-menu px-3 py-1 underline-offset-2 hover:underline focus-visible:underline",
61+
"typography-menu px-3 py-1",
6262
state.active && "underline",
6363
)}
6464
>

0 commit comments

Comments
 (0)