+
+
+
{showComparePrevious[activeView] && }
{showChartFilter(activeView, featureFlags) && (
diff --git a/frontend/src/scenes/insights/InsightTabs/TrendTab/TrendTabHorizontal.tsx b/frontend/src/scenes/insights/InsightTabs/TrendTab/TrendTabHorizontal.tsx
index 507bee35d51..717a244fd82 100644
--- a/frontend/src/scenes/insights/InsightTabs/TrendTab/TrendTabHorizontal.tsx
+++ b/frontend/src/scenes/insights/InsightTabs/TrendTab/TrendTabHorizontal.tsx
@@ -16,6 +16,7 @@ import { preflightLogic } from 'scenes/PreflightCheck/logic'
import './TrendTab.scss'
import { SaveToDashboard } from 'lib/components/SaveToDashboard/SaveToDashboard'
import { TrendTabProps } from './TrendTab'
+import useBreakpoint from 'antd/lib/grid/hooks/useBreakpoint'
export function TrendTabHorizontal({ view, annotationsToCreate }: TrendTabProps): JSX.Element {
const { filters, filtersLoading } = useValues(trendsLogic({ dashboardItemId: null, view }))
@@ -30,11 +31,13 @@ export function TrendTabHorizontal({ view, annotationsToCreate }: TrendTabProps)
{ name: 'returning', tooltip: 'Users who consistently use the product.' },
{ name: 'dormant', tooltip: 'Users who are inactive.' },
]
+ const screens = useBreakpoint()
+ const isSmallScreen = screens.xs || (screens.sm && !screens.md)
return (
<>
-
+
Unsaved query{' '}
)}
-
+
{filters.insight === ViewType.LIFECYCLE && (
<>
Lifecycle Toggles
diff --git a/frontend/src/scenes/insights/Insights.scss b/frontend/src/scenes/insights/Insights.scss
index b4c16dcdbf0..111fabf2948 100644
--- a/frontend/src/scenes/insights/Insights.scss
+++ b/frontend/src/scenes/insights/Insights.scss
@@ -59,10 +59,23 @@
border: 1px solid $border_light;
padding-right: $default_spacing / 4;
+ @media screen and (max-width: $md) {
+ padding-left: $default_spacing / 4;
+ }
+
.ant-card-head-title {
padding: $default_spacing / 2 0;
}
}
+
+ .display-config-inner {
+ display: flex;
+ align-items: center;
+
+ @media screen and (max-width: $md) {
+ overflow-x: auto;
+ }
+ }
}
}
}