style(IOOutputView/index.tsx): update className to include h-full for consistent styling across components

style(IOview/index.tsx): update className to include w-full for consistent styling across components
This commit is contained in:
anovazzi1 2024-03-01 15:51:34 -03:00
commit 5ae5feb64a
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ export default function IOOutputView({
case "TextOutput": case "TextOutput":
return ( return (
<Textarea <Textarea
className="w-full custom-scroll" className="w-full h-full custom-scroll"
placeholder={"Empty"} placeholder={"Empty"}
// update to real value on flowPool // update to real value on flowPool
value={ value={
@ -31,7 +31,7 @@ export default function IOOutputView({
default: default:
return ( return (
<Textarea <Textarea
className="w-full custom-scroll" className="w-full h-full custom-scroll"
placeholder={"Enter text..."} placeholder={"Enter text..."}
value={node.data.node!.template["input_value"]} value={node.data.node!.template["input_value"]}
onChange={(e) => { onChange={(e) => {

View file

@ -272,7 +272,7 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
</button> </button>
{selectedViewField.type} {selectedViewField.type}
</div> </div>
<div className="h-full"> <div className="h-full w-full">
{inputs.some( {inputs.some(
(input) => input.id === selectedViewField.id (input) => input.id === selectedViewField.id
) ? ( ) ? (