fix: Options squishing on accordion collapse

This commit is contained in:
blessedcoolant 2023-06-13 02:12:00 +12:00 committed by psychedelicious
parent 33912382e3
commit e40b3506c4

View File

@ -43,7 +43,15 @@ const ParametersPinnedWrapper = (props: ParametersPinnedWrapperProps) => {
}}
>
<IAIScrollArea>
<Flex sx={{ flexDirection: 'column', gap: 2 }}>{props.children}</Flex>
<Flex
sx={{
flexDirection: 'column',
gap: 2,
width: PARAMETERS_PANEL_WIDTH,
}}
>
{props.children}
</Flex>
</IAIScrollArea>
</Flex>