fix: Layout shift on the ControlNet Panel

This commit is contained in:
blessedcoolant 2023-07-21 01:04:16 +12:00
parent 8fc20c837b
commit 15256ed3a4

View File

@ -152,7 +152,7 @@ const ControlNet = (props: ControlNetProps) => {
/>
)}
</Flex>
<Flex sx={{ w: 'full', flexDirection: 'column', gap: 2 }}>
<Flex sx={{ w: 'full', flexDirection: 'column', gap: 3, mt: 2 }}>
<Flex sx={{ gap: 4, w: 'full', alignItems: 'center' }}>
<Flex
sx={{
@ -177,7 +177,6 @@ const ControlNet = (props: ControlNetProps) => {
h: 28,
w: 28,
aspectRatio: '1/1',
mt: 3,
}}
>
<ControlNetImagePreview controlNetId={controlNetId} height={28} />