prevent report date range from overflowing
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
.dropdown div {
|
||||||
|
max-height: 300px;
|
||||||
|
}
|
||||||
@@ -5,6 +5,7 @@ import DateFilter from 'components/input/DateFilter';
|
|||||||
import WebsiteSelect from 'components/input/WebsiteSelect';
|
import WebsiteSelect from 'components/input/WebsiteSelect';
|
||||||
import { useMessages, useTeamUrl, useWebsite } from 'components/hooks';
|
import { useMessages, useTeamUrl, useWebsite } from 'components/hooks';
|
||||||
import { ReportContext } from './Report';
|
import { ReportContext } from './Report';
|
||||||
|
import styles from './BaseParameters.module.css';
|
||||||
|
|
||||||
export interface BaseParametersProps {
|
export interface BaseParametersProps {
|
||||||
showWebsiteSelect?: boolean;
|
showWebsiteSelect?: boolean;
|
||||||
@@ -48,7 +49,7 @@ export function BaseParameters({
|
|||||||
</FormRow>
|
</FormRow>
|
||||||
)}
|
)}
|
||||||
{showDateSelect && (
|
{showDateSelect && (
|
||||||
<FormRow label={formatMessage(labels.dateRange)}>
|
<FormRow label={formatMessage(labels.dateRange)} className={styles.dropdown}>
|
||||||
{allowDateSelect && (
|
{allowDateSelect && (
|
||||||
<DateFilter
|
<DateFilter
|
||||||
value={value}
|
value={value}
|
||||||
|
|||||||
Reference in New Issue
Block a user