Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

whitespace-pre-wrap on json

Marc Klingene17688a98942
diff --git a/src/components/ui/code.tsx b/src/components/ui/code.tsx
index 48c6dc3c44..22ee33cadd 100644
--- a/src/components/ui/code.tsx
+++ b/src/components/ui/code.tsx
@@ -16,7 +16,7 @@ export function JSONView(props: {
{props.title}
</div>
) : undefined}
- <div className="flex gap-2 p-3 text-xs">
+ <div className="flex gap-2 whitespace-pre-wrap p-3 text-xs">
<React18JsonView
src={props.json}
theme="github"