clean up js (#801)

* clean up javascript
* set element id instead of class on the `clear-search` button
This commit is contained in:
augusto
2022-07-01 16:15:50 -03:00
committed by GitHub
parent 70a706492b
commit e552f2ee71
2 changed files with 25 additions and 29 deletions

View File

@@ -137,7 +137,7 @@ input#search {
display: flex;
}
button.clear-search {
button#clear-search {
all: unset;
position: absolute;
right: 4px;
@@ -148,7 +148,7 @@ button.clear-search {
cursor: pointer;
transition: color 180ms ease-in-out;
}
button.clear-search:hover {
button#clear-search:hover {
color: #eee;
}