From 2e502fbc4ccf9e0fd1745210ebe57caa7fd4082b Mon Sep 17 00:00:00 2001 From: im-adithya Date: Tue, 2 Jan 2024 16:22:59 +0530 Subject: [PATCH] chore: fix navbar styling --- frontend/src/components/Navbar.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/Navbar.tsx b/frontend/src/components/Navbar.tsx index aa6d05c4..41555b57 100644 --- a/frontend/src/components/Navbar.tsx +++ b/frontend/src/components/Navbar.tsx @@ -16,8 +16,9 @@ function Navbar() { const location = useLocation(); const linkStyles = - "text-gray-400 font-medium hover:text-gray-600 dark:hover:text-gray-300 transition"; - const selectedLinkStyles = "text-gray-900 dark:text-gray-100"; + "font-medium text-gray-400 hover:text-gray-500 dark:hover:text-gray-300 transition px-2 "; + const selectedLinkStyles = + "text-gray-900 hover:text-gray-900 dark:text-gray-100 dark:hover:text-gray-100"; return ( <> @@ -25,7 +26,7 @@ function Navbar() {