mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Redesigned filter bar.
This commit is contained in:
parent
76cab03bb2
commit
6589bc6ecb
18 changed files with 86 additions and 38 deletions
|
|
@ -27,9 +27,6 @@ export const MetricCard = ({
|
|||
|
||||
return (
|
||||
<div className={classNames(styles.card, className)}>
|
||||
<animated.div className={styles.value} title={props?.x as any}>
|
||||
{props?.x?.to(x => format(x))}
|
||||
</animated.div>
|
||||
<div className={styles.label}>
|
||||
{label}
|
||||
{~~change !== 0 && !hideComparison && (
|
||||
|
|
@ -45,6 +42,9 @@ export const MetricCard = ({
|
|||
</animated.span>
|
||||
)}
|
||||
</div>
|
||||
<animated.div className={styles.value} title={props?.x as any}>
|
||||
{props?.x?.to(x => format(x))}
|
||||
</animated.div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue