mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 13:47:15 +01:00
Updated events page.
This commit is contained in:
parent
3a97bfe11c
commit
c6b8114945
13 changed files with 122 additions and 46 deletions
3
src/components/input/DateFilter.module.css
Normal file
3
src/components/input/DateFilter.module.css
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
.dropdown span {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
|
@ -5,6 +5,8 @@ import DatePickerForm from 'components/metrics/DatePickerForm';
|
|||
import { useLocale, useMessages } from 'components/hooks';
|
||||
import Icons from 'components/icons';
|
||||
import { formatDate, parseDateValue } from 'lib/date';
|
||||
import styles from './DateFilter.module.css';
|
||||
import classNames from 'classnames';
|
||||
|
||||
export interface DateFilterProps {
|
||||
value: string;
|
||||
|
|
@ -123,7 +125,7 @@ export function DateFilter({
|
|||
return (
|
||||
<>
|
||||
<Dropdown
|
||||
className={className}
|
||||
className={classNames(className, styles.dropdown)}
|
||||
items={options}
|
||||
renderValue={renderValue}
|
||||
value={value}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue