Skip to content

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

fix(playground): make tools list scrollable when more than 4 are attached (#13439)

vasanth033616dda3ba
diff --git a/web/src/features/playground/page/components/PlaygroundTools/index.tsx b/web/src/features/playground/page/components/PlaygroundTools/index.tsx
index b1e1645361..7d841453ae 100644
--- a/web/src/features/playground/page/components/PlaygroundTools/index.tsx
+++ b/web/src/features/playground/page/components/PlaygroundTools/index.tsx
@@ -229,7 +229,7 @@ export const PlaygroundTools = () => {
};
return (
- <ScrollArea className="max-h-[min(45vh,18rem)]">
+ <ScrollArea className="[&>[data-radix-scroll-area-viewport]]:max-h-[min(45vh,18rem)]">
{tools.length === 0 ? (
<div className="flex h-16 flex-col items-center justify-center p-4 text-center">
<p className="text-muted-foreground text-xs">No tools attached.</p>