From 00ce6fdeeb91f96f6f7d7f929f808d8d1f1049f7 Mon Sep 17 00:00:00 2001 From: Tabulate <tabulatejarl8@gmail.com> Date: Wed, 10 Jul 2024 20:56:00 -0400 Subject: [PATCH] Fix UI bugs in search bar (#3854) * [UI] don't display searchbar autocomplete when its empty * [UI] set cursor to pointer on clearSearchButton hover --- src/frontend/components/UI/SearchBar/index.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/frontend/components/UI/SearchBar/index.scss b/src/frontend/components/UI/SearchBar/index.scss index df95207acf..f6b20ac435 100644 --- a/src/frontend/components/UI/SearchBar/index.scss +++ b/src/frontend/components/UI/SearchBar/index.scss @@ -47,6 +47,10 @@ display: block; } + ul.autoComplete:empty { + display: none; + } + .searchButton { padding: var(--space-2xs) var(--space-2xs) 0 var(--space-2xs); } @@ -57,6 +61,10 @@ background: transparent; border: none; color: var(--text-secondary); + + svg { + cursor: pointer; + } } .searchBarInput {