Skip to content

Commit 3cc3e1c

Browse files
committed
feat: added hover effect on the clear button
1 parent 02d8fa7 commit 3cc3e1c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

assets/theme-css/search.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,10 @@
2424
.pagefind-ui__result-title > .pagefind-ui__result-link {
2525
color: unset !important;
2626
}
27+
.pagefind-ui__search-clear{
28+
transition: background-color 0.3s ease, color 0.3s ease;
29+
}
30+
.pagefind-ui__search-clear:hover{
31+
background-color: #333;
32+
color: #fff;
33+
}

0 commit comments

Comments
 (0)