Skip to content

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

fix: scroll area for large lists of variables (#8170)

Thorsten Spiekerae754b146d6e
diff --git a/web/src/features/playground/page/components/ConfigurationDropdowns.tsx b/web/src/features/playground/page/components/ConfigurationDropdowns.tsx
index 2d443a7805..518aaa529d 100644
--- a/web/src/features/playground/page/components/ConfigurationDropdowns.tsx
+++ b/web/src/features/playground/page/components/ConfigurationDropdowns.tsx
@@ -158,16 +158,21 @@ export const ConfigurationDropdowns: React.FC = () => {
</p>
</div>
{variablesCount > 0 ? (
- <div className="mb-3 space-y-4">
- <div>
- <h5 className="mb-2 text-xs font-medium">Variables</h5>
- <Variables />
- </div>
- <div>
- <h5 className="mb-2 text-xs font-medium">
- Message Placeholders
- </h5>
- <MessagePlaceholders />
+ <div
+ className="mb-3"
+ style={{ maxHeight: "50vh", overflowY: "auto" }}
+ >
+ <div className="space-y-4">
+ <div>
+ <h5 className="mb-2 text-xs font-medium">Variables</h5>
+ <Variables />
+ </div>
+ <div>
+ <h5 className="mb-2 text-xs font-medium">
+ Message Placeholders
+ </h5>
+ <MessagePlaceholders />
+ </div>
</div>
</div>
) : (