mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 06:07:17 +01:00
New menu layout.
This commit is contained in:
parent
0cfee43814
commit
1c22c18de5
17 changed files with 103 additions and 47 deletions
|
|
@ -106,6 +106,7 @@ export function DateFilter({
|
|||
placeholder={formatMessage(labels.selectDate)}
|
||||
onChange={handleChange}
|
||||
renderValue={renderValue}
|
||||
popoverProps={{ style: { width: 200 } }}
|
||||
>
|
||||
{options.map(({ label, value, divider }: any) => {
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -85,8 +85,8 @@ export function WebsiteDateFilter({
|
|||
/>
|
||||
{!isAllTime && compare && (
|
||||
<Row alignItems="center" gap>
|
||||
<Text>VS</Text>
|
||||
<Select selectedKey={compare} onSelectionChange={handleSelect} style={{ width: '200px' }}>
|
||||
<Text weight="bold">VS</Text>
|
||||
<Select value={compare} onChange={handleSelect} popoverProps={{ style: { width: 200 } }}>
|
||||
<ListItem id="prev">{formatMessage(labels.previousPeriod)}</ListItem>
|
||||
<ListItem id="yoy">{formatMessage(labels.previousYear)}</ListItem>
|
||||
</Select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue