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"
|
||||
gap={1}
|
||||
h="full"
|
||||
w="full"
|
||||
>
|
||||
<EditablePreview
|
||||
fontWeight="semibold"
|
||||
|
@ -112,17 +112,18 @@ const InputField = ({ nodeId, fieldName }: Props) => {
|
||||
isInvalid={isMissingInput}
|
||||
isDisabled={isConnected}
|
||||
orientation="vertical"
|
||||
ps={fieldTemplate.input === 'direct' ? 0 : 2}
|
||||
pe={2}
|
||||
px={2}
|
||||
>
|
||||
<EditableFieldTitle
|
||||
nodeId={nodeId}
|
||||
fieldName={fieldName}
|
||||
kind="input"
|
||||
isMissingInput={isMissingInput}
|
||||
withTooltip
|
||||
/>
|
||||
<InputFieldRenderer nodeId={nodeId} fieldName={fieldName} />
|
||||
<Flex flexDir="column" w="full" gap={1}>
|
||||
<EditableFieldTitle
|
||||
nodeId={nodeId}
|
||||
fieldName={fieldName}
|
||||
kind="input"
|
||||
isMissingInput={isMissingInput}
|
||||
withTooltip
|
||||
/>
|
||||
<InputFieldRenderer nodeId={nodeId} fieldName={fieldName} />
|
||||
</Flex>
|
||||
</InvControl>
|
||||
)}
|
||||
</FieldContextMenu>
|
||||
|
Loading…
Reference in New Issue
Block a user