From b9103afcde52869c0b4c46cf688f29796949835f Mon Sep 17 00:00:00 2001 From: Yunho Ding Date: Fri, 22 Mar 2024 14:00:15 +0800 Subject: [PATCH] subtle things changed bug hanging to solve --- src/components/Header/NavBar/index.tsx | 4 ++-- src/components/Header/NavBar/nav-item.tsx | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Header/NavBar/index.tsx b/src/components/Header/NavBar/index.tsx index 75c231a..4961b98 100644 --- a/src/components/Header/NavBar/index.tsx +++ b/src/components/Header/NavBar/index.tsx @@ -39,7 +39,7 @@ export default function NavBar() { /> {/* Primary nav link container */} -
+
-
    +
      {primaryNav.map((link) => ( ))} diff --git a/src/components/Header/NavBar/nav-item.tsx b/src/components/Header/NavBar/nav-item.tsx index 6aea753..61432f7 100644 --- a/src/components/Header/NavBar/nav-item.tsx +++ b/src/components/Header/NavBar/nav-item.tsx @@ -37,7 +37,7 @@ const NavItem = ({ link }: Props) => {
    • enterHandler()} onMouseLeave={() => leaveHandler()} - className={`relative lg:flex lg:grow items-center justify-center before:h-1 hover:before:block lg:h-full + className={`relative items-center justify-center before:h-1 hover:before:block lg:flex lg:h-full lg:grow lg:before:absolute lg:before:right-0 lg:before:top-3 lg:before:hidden lg:before:w-full lg:before:bg-starick-green lg:before:content-[''] `} > {/* button handles click action */} @@ -68,26 +68,26 @@ const NavItem = ({ link }: Props) => {
      3 ? "3" : "2" - } gap-3 lg:py-4 lg:ml-8 lg:px-12`} + } gap-3 lg:ml-8 lg:px-12 lg:py-4`} > {link.submenu.map((sublink) => (
    • Aboriginal Flag {sublink.label} - +
    • ))}