From 654c3b08dd6c5e7fc2587682b6e35120da136c50 Mon Sep 17 00:00:00 2001 From: Christopher Date: Tue, 23 Jun 2026 22:00:42 +1000 Subject: [PATCH] fix(dashboard): show file contents inline in run Files tab The inline run-detail panel renders EvalDetail inside a fixed-height block container, but EvalDetail's root used only `min-h-full` (min-height, leaving `height: auto` / indefinite). Percentage heights on descendants (`h-full` down to the Monaco file viewer with height="100%") therefore collapsed to 0, so the Files tab content pane rendered blank. The Full Page route worked because there EvalDetail is a flex item of a flex column, giving it a definite height. Add `h-full` to the root so its height is definite regardless of parent type, letting the height chain resolve and the Monaco viewer fill the pane inline. `min-h-full` is preserved so the Full Page view behavior is unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- apps/dashboard/src/components/EvalDetail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/components/EvalDetail.tsx b/apps/dashboard/src/components/EvalDetail.tsx index 90d3d1494..0ffd153af 100644 --- a/apps/dashboard/src/components/EvalDetail.tsx +++ b/apps/dashboard/src/components/EvalDetail.tsx @@ -76,7 +76,7 @@ export function EvalDetail({ eval: result, runId, projectId }: EvalDetailProps) }; return ( -
+
{/* Tab navigation — at the top so Files tab editor fills maximum height */}