Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Adds some word wrap

Stefan Krawczyk2b9a9681cab7
diff --git a/telemetry/ui/src/components/routes/app/DataView.tsx b/telemetry/ui/src/components/routes/app/DataView.tsx
index dee2afb6..29adbd0b 100644
--- a/telemetry/ui/src/components/routes/app/DataView.tsx
+++ b/telemetry/ui/src/components/routes/app/DataView.tsx
@@ -107,7 +107,12 @@ const FormRenderer: React.FC<FormRendererProps> = ({ data }) => {
<div key={key} className="border">
<label className="border">{key}</label>
<br />
- <pre>{value}</pre>
+ <pre
+ className=""
+ style={{ whiteSpace: 'pre-wrap', wordWrap: 'break-word', maxWidth: '1000px' }}
+ >
+ {value}
+ </pre>
</div>
);
} else {