Revert "setting overflow scroll to outer element"

This reverts commit b157614329.
This commit is contained in:
2024-12-30 14:59:34 +08:00
parent b157614329
commit 7a5bd999a8
3 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ const ScrollArea = React.forwardRef<
>(({ className, children, ...props }, ref) => (
<ScrollAreaPrimitive.Root
ref={ref}
className={cn("relative", className)}
className={cn("relative overflow-hidden", className)}
{...props}
>
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">