From 437c5154b0b4f24d4d47a18eb23a6db7ed1bdffa Mon Sep 17 00:00:00 2001 From: Rutik Date: Tue, 2 Jul 2024 21:59:15 +0530 Subject: [PATCH] bug-fix: Navbar user widget --- frontend/src/components/Navbar/Navbar.module.css | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/Navbar/Navbar.module.css b/frontend/src/components/Navbar/Navbar.module.css index 29156f0..cff6d81 100644 --- a/frontend/src/components/Navbar/Navbar.module.css +++ b/frontend/src/components/Navbar/Navbar.module.css @@ -1,9 +1,8 @@ .navbar { width: 100vw; - position: sticky; - /* position: fixed; */ + /* position: sticky; top: 0; - left: 0; + left: 0; */ z-index: 1; background-color: var(--navbar-bg-color); padding: 10px 20px; @@ -122,20 +121,17 @@ /* navMenu */ .navMenu { - position: fixed; + position: absolute; flex-direction: column; gap: 0; - top: 59px; + top: 68px; left: -100%; text-align: start; width: 100%; - /* height: 100vh; */ transition: 0.7s ease-in-out; background-color: var(--navbar-bg-color); padding: 10px; - margin-top: 0; - z-index: 999; - overflow-y: auto; + margin-top: -8px; } .navMenu.active {