diff --git a/src/app/components/Navbar.module.css b/src/app/components/Navbar.module.css index 7f31d16..6bb179b 100644 --- a/src/app/components/Navbar.module.css +++ b/src/app/components/Navbar.module.css @@ -110,6 +110,10 @@ padding-bottom: 1rem; background-color: #fff; } + + .dropdown { + padding: 0 !important; + } } /* Styles for desktop view */ @@ -139,6 +143,10 @@ position: absolute; display: none; } + + .dropdown:hover .dropdownMenu { + display: block; + } } .header { @@ -160,11 +168,6 @@ font-family: var(--font-geist-mono); } -.dropdown { - padding: 0 !important; -} - - .dropdown a { cursor: pointer; margin-bottom: 0; @@ -179,7 +182,6 @@ } .dropdown:not(.dropdownActive) { - padding: 0 !important; background-color: #fff; transition: all 0.3s ease-out; }