mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Stretch scroll area so it retains parent width
This commit is contained in:
parent
e40b3506c4
commit
79d53341de
@ -5,7 +5,7 @@ type IAIScrollArea = ScrollAreaProps;
|
||||
export default function IAIScrollArea(props: IAIScrollArea) {
|
||||
const { offsetScrollbars = true, ...rest } = props;
|
||||
return (
|
||||
<ScrollArea offsetScrollbars={offsetScrollbars} {...rest}>
|
||||
<ScrollArea w="100%" offsetScrollbars={offsetScrollbars} {...rest}>
|
||||
{props.children}
|
||||
</ScrollArea>
|
||||
);
|
||||
|
@ -47,7 +47,6 @@ const ParametersPinnedWrapper = (props: ParametersPinnedWrapperProps) => {
|
||||
sx={{
|
||||
flexDirection: 'column',
|
||||
gap: 2,
|
||||
width: PARAMETERS_PANEL_WIDTH,
|
||||
}}
|
||||
>
|
||||
{props.children}
|
||||
|
Loading…
Reference in New Issue
Block a user