Update IOFieldView component styling
This commit is contained in:
parent
ea9d56175b
commit
faff541692
1 changed files with 4 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ export default function IOFieldView({
|
||||||
case "TextInput":
|
case "TextInput":
|
||||||
return (
|
return (
|
||||||
<Textarea
|
<Textarea
|
||||||
className={`w-full custom-scroll ${left ? " h-32" : " h-full"}`}
|
className={`w-full custom-scroll ${left ? " min-h-32" : " h-full"}`}
|
||||||
placeholder={"Enter text..."}
|
placeholder={"Enter text..."}
|
||||||
value={node.data.node!.template["input_value"].value}
|
value={node.data.node!.template["input_value"].value}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
|
|
@ -54,7 +54,7 @@ export default function IOFieldView({
|
||||||
default:
|
default:
|
||||||
return (
|
return (
|
||||||
<Textarea
|
<Textarea
|
||||||
className={`w-full custom-scroll ${left ? " h-32" : " h-full"}`}
|
className={`w-full custom-scroll ${left ? " min-h-32" : " h-full"}`}
|
||||||
placeholder={"Enter text..."}
|
placeholder={"Enter text..."}
|
||||||
value={node.data.node!.template["input_value"]}
|
value={node.data.node!.template["input_value"]}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
|
|
@ -74,7 +74,7 @@ export default function IOFieldView({
|
||||||
case "TextOutput":
|
case "TextOutput":
|
||||||
return (
|
return (
|
||||||
<Textarea
|
<Textarea
|
||||||
className={`w-full custom-scroll ${left ? " h-32" : " h-full"}`}
|
className={`w-full custom-scroll ${left ? " min-h-32" : " h-full"}`}
|
||||||
placeholder={"Empty"}
|
placeholder={"Empty"}
|
||||||
// update to real value on flowPool
|
// update to real value on flowPool
|
||||||
value={
|
value={
|
||||||
|
|
@ -89,7 +89,7 @@ export default function IOFieldView({
|
||||||
default:
|
default:
|
||||||
return (
|
return (
|
||||||
<Textarea
|
<Textarea
|
||||||
className={`w-full custom-scroll ${left ? " h-32" : " h-full"}`}
|
className={`w-full custom-scroll ${left ? " min-h-32" : " h-full"}`}
|
||||||
placeholder={"Empty"}
|
placeholder={"Empty"}
|
||||||
// update to real value on flowPool
|
// update to real value on flowPool
|
||||||
value={
|
value={
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue