bug fixes
This commit is contained in:
@@ -23,14 +23,14 @@ const Sheet: React.FC<SheetProps> = ({ title, children, opened, onChange }) => {
|
||||
onChange={onChange}
|
||||
onClose={handleClose}
|
||||
>
|
||||
<ScrollArea
|
||||
style={{ flex: 1 }}
|
||||
<ScrollArea.Autosize
|
||||
style={{ flex: 1, maxHeight: '75dvh' }}
|
||||
scrollbarSize={8}
|
||||
scrollbars="y"
|
||||
type="scroll"
|
||||
>
|
||||
{children}
|
||||
</ScrollArea>
|
||||
</ScrollArea.Autosize>
|
||||
</SheetComponent>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user