mirror of
https://github.com/umami-software/umami.git
synced 2026-02-05 05:07:15 +01:00
Moved files around. Updated test page.
This commit is contained in:
parent
890b209527
commit
6bb34cd3a5
19 changed files with 136 additions and 69 deletions
|
|
@ -37,7 +37,7 @@ export default function DropDown({
|
|||
return (
|
||||
<div ref={ref} className={classNames(styles.dropdown, className)} onClick={handleShowMenu}>
|
||||
<div className={styles.value}>
|
||||
{options.find(e => e.value === value)?.label || value}
|
||||
<div className={styles.text}>{options.find(e => e.value === value)?.label || value}</div>
|
||||
<Icon icon={<Chevron />} className={styles.icon} size="small" />
|
||||
</div>
|
||||
{showMenu && (
|
||||
|
|
|
|||
|
|
@ -19,6 +19,10 @@
|
|||
min-width: 160px;
|
||||
}
|
||||
|
||||
.text {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.icon {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue