1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-26 03:06:49 +02: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:
claudiaHash 2021-05-20 11:50:52 +03:00 committed by GitHub
parent 56169b9887
commit f7cf804ba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -47,6 +47,10 @@ button.filter,
margin-bottom: calc(var(--spacer) / 6);
}
.showClear:hover{
display: inline-flex;
color: var(--color-primary);
}
.showClear {
display: inline-flex;
text-transform: capitalize;

View File

@ -42,6 +42,9 @@ export default function FilterPrice({
setServiceSelections([otherValue])
} else {
await applyServiceFilter(undefined)
if (serviceSelections.includes(value)) {
serviceSelections.pop()
}
}
} else {
if (serviceSelections.length) {