fix(ui): revert offset scrollbars

The wonky padding is too janky. Just overlay for now.
This commit is contained in:
psychedelicious
2023-06-14 13:33:54 +10:00
parent ade4ec5fd8
commit 2cee8bebb2
5 changed files with 6 additions and 6 deletions

View File

@@ -3,9 +3,9 @@ import { ScrollArea, ScrollAreaProps } from '@mantine/core';
type IAIScrollArea = ScrollAreaProps;
export default function IAIScrollArea(props: IAIScrollArea) {
const { offsetScrollbars = true, ...rest } = props;
const { ...rest } = props;
return (
<ScrollArea w="100%" offsetScrollbars={offsetScrollbars} {...rest}>
<ScrollArea w="100%" {...rest}>
{props.children}
</ScrollArea>
);