mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix node styles
Got borked when adjusting control adapter styling. Should revisit this later.
This commit is contained in:
parent
989aaedc7f
commit
baa5f75976
@ -89,6 +89,7 @@ const EditableFieldTitle = forwardRef((props: Props, ref) => {
|
|||||||
justifyContent="flex-start"
|
justifyContent="flex-start"
|
||||||
gap={1}
|
gap={1}
|
||||||
h="full"
|
h="full"
|
||||||
|
w="full"
|
||||||
>
|
>
|
||||||
<EditablePreview
|
<EditablePreview
|
||||||
fontWeight="semibold"
|
fontWeight="semibold"
|
||||||
|
@ -112,17 +112,18 @@ const InputField = ({ nodeId, fieldName }: Props) => {
|
|||||||
isInvalid={isMissingInput}
|
isInvalid={isMissingInput}
|
||||||
isDisabled={isConnected}
|
isDisabled={isConnected}
|
||||||
orientation="vertical"
|
orientation="vertical"
|
||||||
ps={fieldTemplate.input === 'direct' ? 0 : 2}
|
px={2}
|
||||||
pe={2}
|
|
||||||
>
|
>
|
||||||
<EditableFieldTitle
|
<Flex flexDir="column" w="full" gap={1}>
|
||||||
nodeId={nodeId}
|
<EditableFieldTitle
|
||||||
fieldName={fieldName}
|
nodeId={nodeId}
|
||||||
kind="input"
|
fieldName={fieldName}
|
||||||
isMissingInput={isMissingInput}
|
kind="input"
|
||||||
withTooltip
|
isMissingInput={isMissingInput}
|
||||||
/>
|
withTooltip
|
||||||
<InputFieldRenderer nodeId={nodeId} fieldName={fieldName} />
|
/>
|
||||||
|
<InputFieldRenderer nodeId={nodeId} fieldName={fieldName} />
|
||||||
|
</Flex>
|
||||||
</InvControl>
|
</InvControl>
|
||||||
)}
|
)}
|
||||||
</FieldContextMenu>
|
</FieldContextMenu>
|
||||||
|
Loading…
Reference in New Issue
Block a user