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(notebooks): keep chart-type picker clickable at narrow widths (#57725)

posthog[bot]f75e45c12d4e
diff --git a/frontend/src/scenes/notebooks/Nodes/NodeWrapper.scss b/frontend/src/scenes/notebooks/Nodes/NodeWrapper.scss
index 05f31061247d..c1bce8764de0 100644
--- a/frontend/src/scenes/notebooks/Nodes/NodeWrapper.scss
+++ b/frontend/src/scenes/notebooks/Nodes/NodeWrapper.scss
@@ -29,6 +29,12 @@
}
.NotebookNode__settings {
+ // Sits above .NotebookNode__content's z-index: 1 so that wrapped toolbar
+ // controls (e.g. the chart-type picker on Trends insights at narrow widths)
+ // stay clickable when the chart canvas underneath would otherwise win the
+ // hit test.
+ position: relative;
+ z-index: 2;
border-bottom: 1px solid var(--color-border-primary);
}