mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 05:37:20 +01:00
Use css variables.
This commit is contained in:
parent
5d4ff5cfa4
commit
a5930f1772
29 changed files with 131 additions and 85 deletions
|
|
@ -20,7 +20,7 @@ export default function QuickButtons({ value, onChange }) {
|
|||
{Object.keys(options).map(key => (
|
||||
<Button
|
||||
key={key}
|
||||
className={classNames({ [styles.active]: value === key })}
|
||||
className={classNames(styles.button, { [styles.active]: value === key })}
|
||||
onClick={() => handleClick(key)}
|
||||
>
|
||||
{options[key]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue