Fixed input and output view

This commit is contained in:
Lucas Oliveira 2024-02-22 13:03:11 +01:00
commit cce060968f
3 changed files with 15 additions and 2 deletions

View file

@ -62,5 +62,10 @@ export default function IOInputField({
);
}
}
return <div className="h-full w-full">{handleInputType()}</div>;
return (
<div className="font-xl flex h-full w-full flex-col gap-4 p-4 font-semibold">
{inputType}
{handleInputType()}
</div>
);
}

View file

@ -43,5 +43,10 @@ export default function IOOutputView({
);
}
}
return <div className="h-full w-full">{handleOutputType()}</div>;
return (
<div className="font-xl flex h-full w-full flex-col gap-4 p-4 font-semibold">
{outputType}
{handleOutputType()}
</div>
);
}

View file

@ -182,6 +182,7 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
keyValue={input.id}
>
<div className="file-component-tab-column">
<div className="">
{node &&
(categories[selectedCategory].name === "Inputs" ? (
<IOInputField
@ -194,6 +195,8 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
outputId={input.id}
/>
))}
</div>
</div>
</AccordionComponent>
</div>