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.

chore: Make Unique Vistors and paths their own rows but less tall (#64961)

Jordan Mryyane20e50d93251
diff --git a/frontend/src/queries/nodes/InsightViz/InsightViz.scss b/frontend/src/queries/nodes/InsightViz/InsightViz.scss
index 8fd8e8d6d0f9..57de4417a9df 100644
--- a/frontend/src/queries/nodes/InsightViz/InsightViz.scss
+++ b/frontend/src/queries/nodes/InsightViz/InsightViz.scss
@@ -145,6 +145,10 @@
.InsightVizDisplay {
--insight-viz-min-height: 25rem;
}
+
+ .WebTile--short-chart .InsightVizDisplay {
+ --insight-viz-min-height: 18rem;
+ }
}
.RevenueAnalyticsDashboard {
diff --git a/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx b/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx
index 9b2e9c69f81c..147427f633c2 100644
--- a/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx
+++ b/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx
@@ -1423,8 +1423,9 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([
kind: 'tabs',
tileId: TileId.GRAPHS,
layout: {
- colSpanClassName: useTileHeaderV2 ? 'md:col-span-1 2xl:col-span-2' : 'md:col-span-2',
+ colSpanClassName: useTileHeaderV2 ? 'md:col-span-full' : 'md:col-span-2',
orderWhenLargeClassName: '2xl:order-1',
+ className: useTileHeaderV2 ? 'WebTile--short-chart' : undefined,
},
activeTabId: graphsTab,
setTabId: actions.setGraphsTab,
@@ -1497,7 +1498,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([
kind: 'tabs',
tileId: TileId.PATHS,
layout: {
- colSpanClassName: useTileHeaderV2 ? 'md:col-span-1' : 'md:col-span-2',
+ colSpanClassName: useTileHeaderV2 ? 'md:col-span-full' : 'md:col-span-2',
orderWhenLargeClassName: useTileHeaderV2 ? '2xl:order-2' : '2xl:order-4',
},
activeTabId: pathTab,