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) {
|
export default function IAIScrollArea(props: IAIScrollArea) {
|
||||||
const { offsetScrollbars = true, ...rest } = props;
|
const { offsetScrollbars = true, ...rest } = props;
|
||||||
return (
|
return (
|
||||||
<ScrollArea offsetScrollbars={offsetScrollbars} {...rest}>
|
<ScrollArea w="100%" offsetScrollbars={offsetScrollbars} {...rest}>
|
||||||
{props.children}
|
{props.children}
|
||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
);
|
);
|
||||||
|
@ -47,7 +47,6 @@ const ParametersPinnedWrapper = (props: ParametersPinnedWrapperProps) => {
|
|||||||
sx={{
|
sx={{
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
gap: 2,
|
gap: 2,
|
||||||
width: PARAMETERS_PANEL_WIDTH,
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{props.children}
|
{props.children}
|
||||||
|
Loading…
Reference in New Issue
Block a user