diff --git a/src/frontend/src/components/codeAreaComponent/index.tsx b/src/frontend/src/components/codeAreaComponent/index.tsx index 0f0013c1e..add09a9ba 100644 --- a/src/frontend/src/components/codeAreaComponent/index.tsx +++ b/src/frontend/src/components/codeAreaComponent/index.tsx @@ -48,8 +48,9 @@ export default function CodeAreaComponent({ }} className={ editNode - ? "input-edit-node" - : "input-primary text-muted-foreground" + (disabled ? " input-disable" : "") + ? "input-edit-node input-dialog" + : (disabled ? " input-disable " : "") + + " input-primary input-dialog" } > {myValue !== "" ? myValue : "Type something..."} diff --git a/src/frontend/src/components/promptComponent/index.tsx b/src/frontend/src/components/promptComponent/index.tsx index f02c85ba9..888c347ab 100644 --- a/src/frontend/src/components/promptComponent/index.tsx +++ b/src/frontend/src/components/promptComponent/index.tsx @@ -47,7 +47,6 @@ export default function PromptAreaComponent({ }, [reactFlowInstance, field_name, myValue, nodeClass, setNodeClass]); return ( -