Revert "setting overflow scroll to outer element"
This reverts commit b157614329.
This commit is contained in:
@@ -520,7 +520,7 @@ export default (props: { setShow: Dispatch<boolean> }) => {
|
||||
{Tr("Settings")}
|
||||
</Button>
|
||||
</SheetTrigger>
|
||||
<SheetContent className="flex flex-col overflow-scroll">
|
||||
<SheetContent className="flex flex-col">
|
||||
<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", className)}
|
||||
className={cn("relative overflow-hidden", className)}
|
||||
{...props}
|
||||
>
|
||||
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">
|
||||
|
||||
@@ -430,7 +430,7 @@ export default function ChatBOX() {
|
||||
<>
|
||||
<div className="flex flex-col p-2 gap-2 w-full">
|
||||
<div className="flex items-center gap-2 justify-between">
|
||||
<Settings setShow={setShowSettings} />
|
||||
{true && <Settings setShow={setShowSettings} />}
|
||||
<Button
|
||||
variant="outline"
|
||||
size="icon"
|
||||
|
||||
Reference in New Issue
Block a user