Skip to content

Commit 8c15994

Browse files
Attila Csehpsychedelicious
authored andcommitted
add to form icon included
1 parent deb4dc6 commit 8c15994

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/InputFieldTitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const InputFieldTitle = memo((props: Props) => {
106106
onDoubleClick={onDoubleClick}
107107
>
108108
{editable.value}
109-
{isAddedToForm && <Icon as={PiLinkBold} color="blue.200" ml={1} />}
109+
{isAddedToForm && <Icon as={PiLinkBold} color={isInvalid ? 'error.300' : 'blue.200'} ml={1} />}
110110
</Text>
111111
</Tooltip>
112112
);

invokeai/frontend/web/src/features/nodes/components/flow/nodes/common/shared.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ export const containerSx: SystemStyleObject = {
5656
display: 'block',
5757
shadow: '0 0 0 2px var(--border-color-selected)',
5858
},
59-
'&[data-is-invalid="true"]': {
60-
color: 'error.300',
61-
},
6259
'&[data-is-editor-locked="true"]': {
6360
'& *': {
6461
cursor: 'not-allowed',

0 commit comments

Comments
 (0)