setting overflow scroll to outer element
This commit is contained in:
@@ -520,7 +520,7 @@ export default (props: { setShow: Dispatch<boolean> }) => {
|
||||
{Tr("Settings")}
|
||||
</Button>
|
||||
</SheetTrigger>
|
||||
<SheetContent className="flex flex-col">
|
||||
<SheetContent className="flex flex-col overflow-scroll">
|
||||
<ScrollArea>
|
||||
<SheetHeader>
|
||||
<SheetTitle>{Tr("Settings")}</SheetTitle>
|
||||
|
||||
@@ -9,7 +9,7 @@ const ScrollArea = React.forwardRef<
|
||||
>(({ className, children, ...props }, ref) => (
|
||||
<ScrollAreaPrimitive.Root
|
||||
ref={ref}
|
||||
className={cn("relative overflow-hidden", className)}
|
||||
className={cn("relative", className)}
|
||||
{...props}
|
||||
>
|
||||
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">
|
||||
|
||||
Reference in New Issue
Block a user