Skip to content

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

fix(trace): fix bottom padding (#11207)

Michael Fröhlich5415cdb472b4
diff --git a/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx b/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx
index 000c478058..55c12c982b 100644
--- a/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx
+++ b/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx
@@ -320,9 +320,7 @@ export function ObservationDetailView({
>
<div
className={`flex min-h-0 w-full flex-1 flex-col ${
- currentView === "json-beta"
- ? "overflow-hidden"
- : "overflow-auto pb-4"
+ currentView === "json-beta" ? "overflow-hidden" : "overflow-auto"
}`}
>
<IOPreview
@@ -347,6 +345,9 @@ export function ObservationDetailView({
}
showMetadata
/>
+ {currentView !== "json-beta" && (
+ <div className="h-4 w-full flex-shrink-0" />
+ )}
</div>
</TabsBarContent>