clean up js (#801)

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

No files matched your search

+2 -2
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;
}