From 0f8be5208a96406891234433c30b0e9e817e7f25 Mon Sep 17 00:00:00 2001 From: liyunze <50455574+liyunze-coding@users.noreply.github.com> Date: Sun, 10 Aug 2025 13:22:59 +1000 Subject: [PATCH] hotfix: fixed navbar --- src/components/ui/NavigationBar.tsx | 32 +++++------------------------ 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/src/components/ui/NavigationBar.tsx b/src/components/ui/NavigationBar.tsx index 36ca55c..4aa56c7 100644 --- a/src/components/ui/NavigationBar.tsx +++ b/src/components/ui/NavigationBar.tsx @@ -146,7 +146,7 @@ export const HoverNavigation = ({ setHoveredIndex(idx)} onMouseLeave={() => setHoveredIndex(null)} > @@ -189,39 +189,17 @@ export const HoverNavigation = ({ transition={{ ease: "easeInOut", }} - className="h-0 overflow-hidden lg:hidden" + className="overflow-hidden" > {items.map((item, idx) => ( setHoveredIndex(idx)} onMouseLeave={() => setHoveredIndex(null)} > - - {hoveredIndex === idx && ( - - )} - - {item.label} + {item.label} ))} @@ -240,7 +218,7 @@ export const NavBarLink = ({ return (