mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
web: always show "X" button if there is query in search input
This commit is contained in:
committed by
Ammar Ahmed
parent
9c32fe9c2e
commit
564e7190e8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user