web: always show "X" button if there is query in search input

This commit is contained in:
Abdullah Atta
2025-03-03 10:24:03 +05:00
committed by Ammar Ahmed
parent 9c32fe9c2e
commit 564e7190e8

View File

@@ -108,7 +108,7 @@ function Header(props: RouteContainerProps) {
textAlign: "center"
},
"& + .rightActions #search-action-button": {
opacity: 0
opacity: query ? 1 : 0
},
"&:focus + .rightActions #search-action-button": {
opacity: 1