mirror of
https://github.com/LukeSmithxyz/based.cooking.git
synced 2025-12-19 00:52:57 +00:00
clean up js (#801)
* clean up javascript * set element id instead of class on the `clear-search` button
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user