Skip to content

Commit

Permalink
#126 resolved, clip overflow region when not needed (#127)
Browse files Browse the repository at this point in the history
* resolved, clip overflow region when not needed

* simplification to md
  • Loading branch information
Bl20052005 authored Dec 18, 2023
1 parent a45a6b4 commit b6f0611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/site/src/lib/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ function Navbar({ identity }: NavbarProps) {

return (
<NavMenu.Root
className={`${
hasScrolled ? "md:bg-opacity-50" : ""
className={`${hasScrolled ? "md:bg-opacity-50" : ""} ${
hidden ? "max-md:h-[4rem] max-md:overflow-hidden" : ""
} transition-colors duration-0 md:duration-700 ease-out w-full z-10 flex flex-col fixed bg-black bg-opacity-0 md:flex-row md:items-center`}
>
<NavMenu.List className="bg-black bg-opacity-50 md:bg-opacity-0 flex p-3">
Expand Down

0 comments on commit b6f0611

Please sign in to comment.