: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(experiments): give precompute trend charts a flex parent so they render (#69980)
Juraj Majerikd1b99f88cfca
diff --git a/frontend/src/scenes/instance/QueryPerformance/PrecomputeTrends.tsx b/frontend/src/scenes/instance/QueryPerformance/PrecomputeTrends.tsxindex 35b7e8b7b166..7cb507038c00 100644--- a/frontend/src/scenes/instance/QueryPerformance/PrecomputeTrends.tsx+++ b/frontend/src/scenes/instance/QueryPerformance/PrecomputeTrends.tsx@@ -21,7 +21,8 @@ function ChartCard({ title, children }: { title: string; children: React.ReactNoreturn (<div className="border rounded p-3 bg-surface-primary"><div className="text-xs text-muted mb-2">{title}</div>- <div className="h-48">{children}</div>+ {/* Flex column: the chart root is `flex-1` and only gets height from a flex parent. */}+ <div className="h-48 flex flex-col">{children}</div></div>)}