Skip to content

Commit

Permalink
fix(): Fix mobile docs menu y overflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanCQ committed Oct 28, 2024
1 parent 914429a commit 4c36231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/custom/docs/components/navmenu/MobileMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { MenuIcon } from "lucide-react"
}) => {
return <DropdownMenu >
<DropdownMenuTrigger asChild><Button variant='outline' className="w-8 p-0 h-8"> <MenuIcon/></Button></DropdownMenuTrigger>
<DropdownMenuContent className="max-h-50vh overflow-y-auto" >
<DropdownMenuContent className="max-h-[80vh] overflow-y-auto ml-2" >
{props.navTextLinks.map(link => {
return <><DropdownMenuItem asChild key={link.title}><a href={link.href}>{link.title}</a>
</DropdownMenuItem>
Expand Down

0 comments on commit 4c36231

Please sign in to comment.