feat: enable scrolling for overflowing drawer content

This commit is contained in:
codytseng 2025-09-24 11:15:35 +08:00
parent b73b3512f3
commit 83c95782bd
5 changed files with 50 additions and 42 deletions

View file

@ -85,7 +85,7 @@ const DrawerContent = React.forwardRef<
onOpenAutoFocus={(e) => e.preventDefault()}
{...props}
>
<div className="mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" />
<div className="mx-auto mt-4 pb-2 mb-2 h-2 w-[100px] rounded-full bg-muted" />
{children}
</DrawerPrimitive.Content>
</DrawerPortal>