Skip to content

Commit 51ee7fe

Browse files
fix: Adjust navbar menu item styling to improve text visibility on hover
1 parent 2735cfc commit 51ee7fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ui/navbar-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const MenuItem = ({
2525
children?: React.ReactNode;
2626
}) => {
2727
return (
28-
<div onMouseEnter={() => setActive(item)} className="relative px-8 py-3 rounded-xl hover:bg-white hover:dark:bg-white hover:text-black transition-all duration-300 text-foreground shadow-sm border border-transparent hover:border-white hover:shadow-[0px_0px_20px_5px_rgba(255,255,255,0.4)]">
28+
<div onMouseEnter={() => setActive(item)} className="relative px-8 py-3 rounded-xl hover:bg-white hover:dark:bg-white text-black transition-all duration-300 text-foreground shadow-sm border border-transparent hover:border-white hover:shadow-[0px_0px_20px_5px_rgba(255,255,255,0.4)]">
2929
<motion.p
3030
transition={{ duration: 0.3 }}
3131
className="cursor-pointer hover:opacity-[0.9] "

0 commit comments

Comments
 (0)