refactor(parameterComponent): Make modal disabled inputs look like other disabled inputs

This commit is contained in:
Igor Carvalho 2023-07-10 19:35:54 -03:00
commit e438f5a2a6
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ export default function CodeAreaComponent({
editNode editNode
? "input-edit-node input-dialog" ? "input-edit-node input-dialog"
: (disabled ? " input-disable " : "") + : (disabled ? " input-disable " : "") +
" input-dialog input-primary" " input-primary text-muted-foreground "
} }
> >
{myValue !== "" ? myValue : "Type something..."} {myValue !== "" ? myValue : "Type something..."}

View file

@ -70,7 +70,7 @@ export default function PromptAreaComponent({
editNode editNode
? "input-edit-node input-dialog" ? "input-edit-node input-dialog"
: (disabled ? " input-disable " : "") + : (disabled ? " input-disable " : "") +
" input-dialog input-primary" " input-primary text-muted-foreground"
} }
> >
{myValue !== "" ? myValue : "Type your prompt here"} {myValue !== "" ? myValue : "Type your prompt here"}