Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use dvh and add bottom padding for menu sheet
Browse files Browse the repository at this point in the history
dominicarrojado committed Mar 24, 2024
1 parent d09710e commit 7a60b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/menu-toggle.tsx
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ export default function MenuToggle() {
Alerts
</SheetTitle>
</SheetHeader>
<ScrollArea className="my-4 h-[calc(100vh-6rem)] pl-7">
<ScrollArea className="my-4 h-[calc(100dvh-5rem)] pb-10 pl-7">
<div className="flex flex-col space-y-3">
{MAIN_MENU_ITEMS.map(({ title, href }) => (
<Link key={href} href={href} onClick={closeSheet}>

0 comments on commit 7a60b29

Please sign in to comment.