Skip to content

Commit

Permalink
Allow scroll within drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
kearfy committed Dec 24, 2023
1 parent fe785cf commit 345e54c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ui-custom/dd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export function DDContent({
if (isMobile)
return (
<DrawerContent {...props}>
<div className="px-8 pb-6 pt-4">{children}</div>
<div className="mx-8 mb-6 mt-4 max-h-[calc(100vh-6rem)] overflow-y-auto">
{children}
</div>
</DrawerContent>
);

Expand Down

0 comments on commit 345e54c

Please sign in to comment.