Skip to content

Commit

Permalink
Fix dropdown items width
Browse files Browse the repository at this point in the history
  • Loading branch information
T1LT committed Jan 15, 2024
1 parent 22a9503 commit 81e0581
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,23 @@ export default function Navbar() {
</DropdownMenuLabel>
<DropdownMenuSeparator />
<DropdownMenuItem>
<Link href="/recipes?filter=all">All Recipes</Link>
<Link href="/recipes?filter=all" className="w-full">
All Recipes
</Link>
</DropdownMenuItem>
<DropdownMenuItem>
<Link href="/recipes?filter=popular">Popular Recipes</Link>
<Link href="/recipes?filter=popular" className="w-full">
Popular Recipes
</Link>
</DropdownMenuItem>
<DropdownMenuItem>
<Suspense fallback={<Link href="/add-recipe">Add a Recipe</Link>}>
<Suspense
fallback={
<Link href="/add-recipe" className="w-full">
Add a Recipe
</Link>
}
>
<AddLink />
</Suspense>
</DropdownMenuItem>
Expand Down

0 comments on commit 81e0581

Please sign in to comment.