Skip to content

Commit

Permalink
Patch Navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Dec 18, 2024
1 parent 318bccc commit 37079a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const Navbar = () => {
v3x.property
</Link>
<div className="flex w-full md:w-fit overflow-x-auto h-full">
<ul className="grid grid-cols-5 w-full h-full md:gap-2">
<ul className="grid grid-cols-5 w-full h-full md:gap-2 md:flex">
{navLinks.map(({ path, name, icon, slug }) => (
<li
key={path}
Expand All @@ -121,7 +121,7 @@ export const Navbar = () => {
<Link
to={path}
data-testid={slug}
className="flex cursor-pointer md:gap-1 h-full md:[&.active]:bg-black/10 flex-col md:flex-row items-center justify-center hover:bg-black/5 md:px-1"
className="flex cursor-pointer md:px-2 md:gap-1 h-full md:[&.active]:bg-black/10 flex-col md:flex-row items-center justify-center hover:bg-black/5"
>
{icon}
<span className="text-xs md:text-base">
Expand All @@ -134,7 +134,7 @@ export const Navbar = () => {
<DropdownMenu.Trigger asChild>
<button
className={
'flex flex-col md:flex-row md:gap-1 items-center justify-center hover:bg-black/5 aria-expanded:bg-black/5'
'flex flex-col md:flex-row md:px-2 md:gap-1 items-center justify-center hover:bg-black/5 aria-expanded:bg-black/5'
}
data-testid="more-dropdown-trigger"
>
Expand Down

0 comments on commit 37079a2

Please sign in to comment.