AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(frontend/builder): allow horizontal scroll for JSON output data (#12638)
Otto3140a60816df
diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeOutput/components/ContentRenderer.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeOutput/components/ContentRenderer.tsxindex d7b2e11819..b25dba32a4 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeOutput/components/ContentRenderer.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeOutput/components/ContentRenderer.tsx@@ -40,14 +40,14 @@ export const ContentRenderer: React.FC<{!shortContent) {return (- <div className="overflow-hidden [&>*]:rounded-xlarge [&>*]:!text-xs [&_pre]:whitespace-pre-wrap [&_pre]:break-words">+ <div className="overflow-x-auto [&>*]:rounded-xlarge [&>*]:!text-xs [&_pre]:whitespace-pre-wrap [&_pre]:break-words">{renderer?.render(value, metadata)}</div>);}return (- <div className="overflow-hidden [&>*]:rounded-xlarge [&>*]:!text-xs">+ <div className="overflow-x-auto [&>*]:rounded-xlarge [&>*]:!text-xs"><TextRenderer value={value} truncateLengthLimit={200} /></div>);