: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(cohorts): drop scene title top margin when scene menu bar is on (#61350)
Joe Martin86d02ad89e76
diff --git a/frontend/src/scenes/cohorts/CohortEdit.tsx b/frontend/src/scenes/cohorts/CohortEdit.tsxindex c7f759accdc3..adacdedf1077 100644--- a/frontend/src/scenes/cohorts/CohortEdit.tsx+++ b/frontend/src/scenes/cohorts/CohortEdit.tsx@@ -249,6 +249,9 @@ export function CohortEdit({ id, attachTo, tabId }: CohortEditProps): JSX.Elemen<SceneTitleSectionname={cohort.name}description={cohort.description || ''}+ // When the SceneMenuBar renders above the title, the title's default+ // negative top margin pulls it up under the bar — drop it in that case.+ className={featureFlags[FEATURE_FLAGS.SCENE_MENU_BAR] ? 'mt-0' : undefined}resourceType={{to: urls.cohorts(),type: RESOURCE_TYPE,