: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(web-analytics): replace invalid xxl: Tailwind prefix with 2xl: (#58404)
okxint6510d15672e5
diff --git a/frontend/src/scenes/web-analytics/WebAnalyticsDashboard.tsx b/frontend/src/scenes/web-analytics/WebAnalyticsDashboard.tsxindex 39d8e56dfbbb..d3b1dc79f723 100644--- a/frontend/src/scenes/web-analytics/WebAnalyticsDashboard.tsx+++ b/frontend/src/scenes/web-analytics/WebAnalyticsDashboard.tsx@@ -72,7 +72,7 @@ export const Tiles = (props: { tiles?: WebAnalyticsTile[]; compact?: boolean }):return (<divclassName={clsx(- 'mt-4 grid grid-cols-1 md:grid-cols-2 xxl:grid-cols-3',+ 'mt-4 grid grid-cols-1 md:grid-cols-2 2xl:grid-cols-3',compact ? 'gap-x-2 gap-y-2' : 'gap-x-4 gap-y-4')}data-attr="web-analytics-dashboard"@@ -139,9 +139,9 @@ const QueryTileItem = ({ tile }: { tile: QueryTile }): JSX.Element => {<divclassName={clsx('col-span-1 row-span-1 flex flex-col',- layout.colSpanClassName ?? 'md:col-span-6',+ layout.colSpanClassName ?? 'md:col-span-1',layout.rowSpanClassName ?? 'md:row-span-1',- layout.orderWhenLargeClassName ?? 'xxl:order-12',+ layout.orderWhenLargeClassName ?? '2xl:order-12',layout.className)}>@@ -180,7 +180,7 @@ const TabsTileItem = ({ tile }: { tile: TabsTile }): JSX.Element => {'col-span-1 row-span-1',layout.colSpanClassName || 'md:col-span-1',layout.rowSpanClassName || 'md:row-span-1',- layout.orderWhenLargeClassName || 'xxl:order-12',+ layout.orderWhenLargeClassName || '2xl:order-12',layout.className)}activeTabId={tile.activeTabId}diff --git a/frontend/src/scenes/web-analytics/common.ts b/frontend/src/scenes/web-analytics/common.tsindex 0177b120fe7b..a6cd2941da82 100644--- a/frontend/src/scenes/web-analytics/common.ts+++ b/frontend/src/scenes/web-analytics/common.ts@@ -27,7 +27,7 @@ export interface WebTileLayout {/** The class has to be spelled out without interpolation, as otherwise Tailwind can't pick it up. */rowSpanClassName?: `md:row-span-${number}`/** The class has to be spelled out without interpolation, as otherwise Tailwind can't pick it up. */- orderWhenLargeClassName?: `xxl:order-${number}`+ orderWhenLargeClassName?: `2xl:order-${number}`className?: string}diff --git a/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/NonIntegratedConversionsTable/NonIntegratedConversionsTable.tsx b/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/NonIntegratedConversionsTable/NonIntegratedConversionsTable.tsxindex a04599ef3771..155c0c68cd21 100644--- a/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/NonIntegratedConversionsTable/NonIntegratedConversionsTable.tsx+++ b/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/NonIntegratedConversionsTable/NonIntegratedConversionsTable.tsx@@ -147,7 +147,7 @@ export const NonIntegratedConversionsTable = (): JSX.Element | null => {// Show empty state when no conversion goals are configured (neither saved nor draft)if (allConversionGoals.length === 0) {return (- <div className="col-span-1 row-span-1 flex flex-col md:col-span-2 xxl:order-3">+ <div className="col-span-1 row-span-1 flex flex-col md:col-span-2 2xl:order-3">{TileHeader}<div className="p-8 flex flex-col items-center justify-center text-center gap-3 border rounded"><p className="text-muted m-0">No conversion goals configured</p>@@ -170,7 +170,7 @@ export const NonIntegratedConversionsTable = (): JSX.Element | null => {if (loading || !query) {return (- <div className="col-span-1 row-span-1 flex flex-col md:col-span-2 xxl:order-3">+ <div className="col-span-1 row-span-1 flex flex-col md:col-span-2 2xl:order-3">{TileHeader}<div className="p-4"><LemonSkeleton className="h-32" />@@ -180,7 +180,7 @@ export const NonIntegratedConversionsTable = (): JSX.Element | null => {}return (- <div className="col-span-1 row-span-1 flex flex-col md:col-span-2 xxl:order-3">+ <div className="col-span-1 row-span-1 flex flex-col md:col-span-2 2xl:order-3">{TileHeader}<div className="bg-surface-primary rounded border border-border marketing-analytics-table-container"><Query query={query} readOnly={false} context={nonIntegratedContext} />diff --git a/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/logic/marketingAnalyticsTilesLogic.ts b/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/logic/marketingAnalyticsTilesLogic.tsindex 8d64c396acf9..764f8d1cefcd 100644--- a/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/logic/marketingAnalyticsTilesLogic.ts+++ b/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/logic/marketingAnalyticsTilesLogic.ts@@ -113,8 +113,8 @@ export const marketingAnalyticsTilesLogic = kea<marketingAnalyticsTilesLogicTypekind: 'query',tileId: TileId.MARKETING_OVERVIEW,layout: {- colSpanClassName: 'md:col-span-2 xxl:col-span-3' as `md:col-span-${number}`,- orderWhenLargeClassName: 'xxl:order-0',+ colSpanClassName: 'md:col-span-2 2xl:col-span-3' as `md:col-span-${number}`,+ orderWhenLargeClassName: '2xl:order-0',},query: {kind: NodeKind.MarketingAnalyticsAggregatedQuery,@@ -135,7 +135,7 @@ export const marketingAnalyticsTilesLogic = kea<marketingAnalyticsTilesLogicTypetileId: TileId.MARKETING,layout: {colSpanClassName: 'md:col-span-2',- orderWhenLargeClassName: 'xxl:order-1',+ orderWhenLargeClassName: '2xl:order-1',},title: `Marketing ${tileColumnSelectionName}`,query: {@@ -193,7 +193,7 @@ export const marketingAnalyticsTilesLogic = kea<marketingAnalyticsTilesLogicTypetileId: TileId.MARKETING_CAMPAIGN_BREAKDOWN,layout: {colSpanClassName: 'md:col-span-2',- orderWhenLargeClassName: 'xxl:order-2',+ orderWhenLargeClassName: '2xl:order-2',},title: `${MARKETING_ANALYTICS_DRILL_DOWN_CONFIG[drillDownLevel].columnAlias} breakdown`,query: campaignCostsBreakdown,diff --git a/frontend/src/scenes/web-analytics/tiles/WebAnalyticsErrorTracking.tsx b/frontend/src/scenes/web-analytics/tiles/WebAnalyticsErrorTracking.tsxindex fd881e086dad..950a93265ae7 100644--- a/frontend/src/scenes/web-analytics/tiles/WebAnalyticsErrorTracking.tsx+++ b/frontend/src/scenes/web-analytics/tiles/WebAnalyticsErrorTracking.tsx@@ -77,9 +77,9 @@ export const WebAnalyticsErrorTrackingTile = ({ tile }: { tile: ErrorTrackingTil<divclassName={clsx('col-span-1 row-span-1 flex flex-col',- layout.colSpanClassName ?? 'md:col-span-6',+ layout.colSpanClassName ?? 'md:col-span-1',layout.rowSpanClassName ?? 'md:row-span-1',- layout.orderWhenLargeClassName ?? 'xxl:order-12',+ layout.orderWhenLargeClassName ?? '2xl:order-12',layout.className)}>diff --git a/frontend/src/scenes/web-analytics/tiles/WebAnalyticsRecordings.tsx b/frontend/src/scenes/web-analytics/tiles/WebAnalyticsRecordings.tsxindex be33824b7d51..d4ba3bbc2cc9 100644--- a/frontend/src/scenes/web-analytics/tiles/WebAnalyticsRecordings.tsx+++ b/frontend/src/scenes/web-analytics/tiles/WebAnalyticsRecordings.tsx@@ -58,9 +58,9 @@ export function WebAnalyticsRecordingsTile({ tile }: { tile: ReplayTile }): JSX.<divclassName={clsx('col-span-1 row-span-1 flex flex-col',- layout.colSpanClassName ?? 'md:col-span-6',+ layout.colSpanClassName ?? 'md:col-span-1',layout.rowSpanClassName ?? 'md:row-span-1',- layout.orderWhenLargeClassName ?? 'xxl:order-12',+ layout.orderWhenLargeClassName ?? '2xl:order-12',layout.className)}>diff --git a/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx b/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsxindex d3cb185245f0..116cc535b6cf 100644--- a/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx+++ b/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx@@ -1180,7 +1180,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([tileId: TileId.WEB_VITALS,layout: {colSpanClassName: 'md:col-span-full',- orderWhenLargeClassName: 'xxl:order-0',+ orderWhenLargeClassName: '2xl:order-0',},query: {kind: NodeKind.WebVitalsQuery,@@ -1210,7 +1210,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([tileId: TileId.WEB_VITALS_PATH_BREAKDOWN,layout: {colSpanClassName: 'md:col-span-full',- orderWhenLargeClassName: 'xxl:order-0',+ orderWhenLargeClassName: '2xl:order-0',},query: {kind: NodeKind.WebVitalsPathBreakdownQuery,@@ -1244,7 +1244,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([tileId: TileId.OVERVIEW,layout: {colSpanClassName: 'md:col-span-full',- orderWhenLargeClassName: 'xxl:order-0',+ orderWhenLargeClassName: '2xl:order-0',className: '-mt-2',},query: {@@ -1266,7 +1266,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([tileId: TileId.GRAPHS,layout: {colSpanClassName: `md:col-span-2`,- orderWhenLargeClassName: 'xxl:order-1',+ orderWhenLargeClassName: '2xl:order-1',},activeTabId: graphsTab,setTabId: actions.setGraphsTab,@@ -1340,7 +1340,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([tileId: TileId.PATHS,layout: {colSpanClassName: `md:col-span-2`,- orderWhenLargeClassName: 'xxl:order-4',+ orderWhenLargeClassName: '2xl:order-4',},activeTabId: pathTab,setTabId: actions.setPathTab,@@ -1512,7 +1512,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([tileId: TileId.SOURCES,layout: {colSpanClassName: `md:col-span-1`,- orderWhenLargeClassName: 'xxl:order-2',+ orderWhenLargeClassName: '2xl:order-2',},activeTabId: sourceTab,setTabId: actions.setSourceTab,@@ -1734,7 +1734,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([tileId: TileId.DEVICES,layout: {colSpanClassName: `md:col-span-1`,- orderWhenLargeClassName: 'xxl:order-3',+ orderWhenLargeClassName: '2xl:order-3',},activeTabId: deviceTab,setTabId: actions.setDeviceTab,