Adding Bounding Box Reset Disables

Add disable conditions for reset buttons on bounding box width and height
This commit is contained in:
blessedcoolant
2022-10-28 08:05:40 +13:00
committed by psychedelicious
parent 6679e5be69
commit acdffb1503
7 changed files with 16 additions and 11 deletions

View File

@@ -69,12 +69,6 @@
width: 10px;
height: 10px;
}
&:hover {
path {
// fill: ;
}
}
}
}
}

View File

@@ -116,7 +116,11 @@ const IAINumberInput = (props: Props) => {
<FormControl
isDisabled={isDisabled}
isInvalid={isInvalid}
className={`invokeai__number-input-form-control ${styleClass}`}
className={
styleClass
? `invokeai__number-input-form-control ${styleClass}`
: `invokeai__number-input-form-control`
}
{...formControlProps}
>
<FormLabel