: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(insights): clip metric tile viz to remove permanent scrollbar (#72739)
Steven Shults93abd50ad6fe
diff --git a/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss b/frontend/src/lib/components/Cards/InsightCard/InsightCard.scssindex 39066067f79b..5b85a61a6584 100644--- a/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss+++ b/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss@@ -63,6 +63,14 @@&--resizing {overflow: hidden;}++ // The Metric display bleeds its sparkline to the card edges (negative margins plus a+ // few-pixel downward shift so the line rests on the edge), so its content sits a hair+ // taller than the box. Clip it — otherwise `overflow: auto` shows a permanent vertical+ // scrollbar that overlaps the chart's rightmost points and blocks hover there.+ &--Metric {+ overflow: hidden;+ }}.InsightCard__vizInner {