mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Filter buttons bugs fix (#614)
* buttons selection and deselection fix * style fixes * hide button fix Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
This commit is contained in:
parent
56169b9887
commit
f7cf804ba5
@ -47,6 +47,10 @@ button.filter,
|
|||||||
margin-bottom: calc(var(--spacer) / 6);
|
margin-bottom: calc(var(--spacer) / 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.showClear:hover{
|
||||||
|
display: inline-flex;
|
||||||
|
color: var(--color-primary);
|
||||||
|
}
|
||||||
.showClear {
|
.showClear {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
@ -42,6 +42,9 @@ export default function FilterPrice({
|
|||||||
setServiceSelections([otherValue])
|
setServiceSelections([otherValue])
|
||||||
} else {
|
} else {
|
||||||
await applyServiceFilter(undefined)
|
await applyServiceFilter(undefined)
|
||||||
|
if (serviceSelections.includes(value)) {
|
||||||
|
serviceSelections.pop()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (serviceSelections.length) {
|
if (serviceSelections.length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user