Skip to content

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

fix(playground): overflow on large description (#7863)

Hassieb Pakzad0e360759ec5d
diff --git a/web/src/features/playground/page/components/PlaygroundTools/index.tsx b/web/src/features/playground/page/components/PlaygroundTools/index.tsx
index 6fd91fe567..f8c269fde7 100644
--- a/web/src/features/playground/page/components/PlaygroundTools/index.tsx
+++ b/web/src/features/playground/page/components/PlaygroundTools/index.tsx
@@ -258,7 +258,7 @@ export const PlaygroundTools = () => {
</div>
</div>
<p
- className="line-clamp-2 text-xs text-muted-foreground"
+ className="line-clamp-2 break-all text-xs text-muted-foreground"
title={tool.description}
>
{tool.description}
diff --git a/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx b/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx
index 7421e5cb9d..f8ed40da99 100644
--- a/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx
+++ b/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx
@@ -255,7 +255,7 @@ export const StructuredOutputSchemaSection = () => {
</div>
</div>
<p
- className="line-clamp-2 text-xs text-muted-foreground"
+ className="line-clamp-2 break-all text-xs text-muted-foreground"
title={structuredOutputSchema.description}
>
{structuredOutputSchema.description}