Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
prevent report date range from overflowing
Francis Cao8b410096bdb7
diff --git a/src/app/(main)/reports/[reportId]/BaseParameters.module.css b/src/app/(main)/reports/[reportId]/BaseParameters.module.cssnew file mode 100644index 000000000..4750c7d73--- /dev/null+++ b/src/app/(main)/reports/[reportId]/BaseParameters.module.css@@ -0,0 +1,3 @@+.dropdown div {+ max-height: 300px;+}diff --git a/src/app/(main)/reports/[reportId]/BaseParameters.tsx b/src/app/(main)/reports/[reportId]/BaseParameters.tsxindex 49c3347e8..77de51f33 100644--- a/src/app/(main)/reports/[reportId]/BaseParameters.tsx+++ b/src/app/(main)/reports/[reportId]/BaseParameters.tsx@@ -5,6 +5,7 @@ import DateFilter from 'components/input/DateFilter';import WebsiteSelect from 'components/input/WebsiteSelect';import { useMessages, useTeamUrl, useWebsite } from 'components/hooks';import { ReportContext } from './Report';+import styles from './BaseParameters.module.css';export interface BaseParametersProps {showWebsiteSelect?: boolean;@@ -48,7 +49,7 @@ export function BaseParameters({</FormRow>)}{showDateSelect && (- <FormRow label={formatMessage(labels.dateRange)}>+ <FormRow label={formatMessage(labels.dateRange)} className={styles.dropdown}>{allowDateSelect && (<DateFiltervalue={value}