Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(desktop): give the agents table a minimum height (#103606)

Shy Alter09f4ac4237de
diff --git a/products/desktop/packages/ui/src/features/agents/components/AgentsTabLayout.tsx b/products/desktop/packages/ui/src/features/agents/components/AgentsTabLayout.tsx
index 111f01a74864..a3a7a554e119 100644
--- a/products/desktop/packages/ui/src/features/agents/components/AgentsTabLayout.tsx
+++ b/products/desktop/packages/ui/src/features/agents/components/AgentsTabLayout.tsx
@@ -61,10 +61,14 @@ export function AgentsTabLayout({
) : null}
</div>
- {/* A filling tab scrolls its own list, so the page itself must not scroll. */}
+ {/* A filling tab scrolls its own list. The page scrolls only when the tab
+ content no longer fits, so a minimum height inside the tab stays
+ usable on a short window. */}
<div
className={
- fill ? "flex min-h-0 flex-1 flex-col" : "min-h-0 flex-1 overflow-auto"
+ fill
+ ? "flex min-h-0 flex-1 flex-col overflow-auto"
+ : "min-h-0 flex-1 overflow-auto"
}
>
<div
diff --git a/products/desktop/packages/ui/src/features/scouts/components/ScoutsFleetView.tsx b/products/desktop/packages/ui/src/features/scouts/components/ScoutsFleetView.tsx
index dd1b6718a7d2..12d1a3bf1871 100644
--- a/products/desktop/packages/ui/src/features/scouts/components/ScoutsFleetView.tsx
+++ b/products/desktop/packages/ui/src/features/scouts/components/ScoutsFleetView.tsx
@@ -378,7 +378,9 @@ export function ScoutsFleetView({
</Button>
</div>
- <div className="min-h-0 flex-1">
+ {/* A floor on the height, so many suggestion cards cannot squash the
+ table into a row or two. The page scrolls when the floor does not fit. */}
+ <div className="min-h-80 flex-1">
<ScoutTable
configs={visibleConfigs}
rollups={rollups}