fix: Dynamically adapt height of control adapter opts

This commit is contained in:
blessedcoolant 2024-04-16 01:18:43 +05:30
parent 5f6c6abf9c
commit f6b7bc5d98

View File

@ -112,7 +112,7 @@ const ControlAdapterConfig = (props: { id: string; number: number }) => {
<Flex w="full" flexDir="column" gap={4}>
<Flex gap={8} w="full" alignItems="center">
<Flex flexDir="column" gap={4} h={40} w="full">
<Flex flexDir="column" gap={4} h={controlAdapterType === 'ip_adapter' ? 40 : 32} w="full">
<ParamControlAdapterIPMethod id={id} />
<ParamControlAdapterWeight id={id} />
<ParamControlAdapterBeginEnd id={id} />