mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
clear button styling
This commit is contained in:
parent
f1d47bbec9
commit
3b604085ab
@ -42,3 +42,14 @@ button.filter,
|
|||||||
margin-left: calc(var(--spacer) / 6);
|
margin-left: calc(var(--spacer) / 6);
|
||||||
color: var(--background-body);
|
color: var(--background-body);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.filter.clearSelected {
|
||||||
|
color: var(--background-body);
|
||||||
|
background: var(--font-color-text);
|
||||||
|
border-color: var(--background-body);
|
||||||
|
}
|
||||||
|
|
||||||
|
.filter.clearSelected::after {
|
||||||
|
margin-left: calc(var(--spacer) / 6);
|
||||||
|
color: var(--background-body);
|
||||||
|
}
|
@ -144,7 +144,7 @@ export default function FilterPrice({
|
|||||||
<div className={styles.filterList}>
|
<div className={styles.filterList}>
|
||||||
{clearFilters.map((e, index) => {
|
{clearFilters.map((e, index) => {
|
||||||
const selectFilter = cx({
|
const selectFilter = cx({
|
||||||
[styles.selected]: clearSelected,
|
[styles.clearSelected]: clearSelected,
|
||||||
[styles.filter]: true
|
[styles.filter]: true
|
||||||
})
|
})
|
||||||
return (
|
return (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user