mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-18 20:54:31 -05:00
fix(ui): revert offset scrollbars
The wonky padding is too janky. Just overlay for now.
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user