Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

typeahead: Prevent blue styling from mouse hover on typeahead item.

evykassirer83dc7fc4d992
diff --git a/web/src/bootstrap_typeahead.ts b/web/src/bootstrap_typeahead.ts
index df1e00a2382..f4525adc75d 100644
--- a/web/src/bootstrap_typeahead.ts
+++ b/web/src/bootstrap_typeahead.ts
@@ -195,7 +195,7 @@ const HEADER_ELEMENT_HTML =
'<p class="typeahead-header"><span id="typeahead-header-text"></span></p>';
const CONTAINER_HTML = '<div class="typeahead dropdown-menu"></div>';
const MENU_HTML = '<ul class="typeahead-menu" data-simplebar></ul>';
-const ITEM_HTML = "<li><a></a></li>";
+const ITEM_HTML = '<li class="typeahead-item"><a class="typeahead-item-link"></a></li>';
const MIN_LENGTH = 1;
export type TypeaheadInputElement =
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index c3aca89c82e..688c8e8f9a5 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -18,7 +18,8 @@
.button,
.compose_control_button,
.conversation-partners,
- .user-presence-link
+ .user-presence-link,
+ .typeahead-item-link
):hover {
color: hsl(200deg 79% 66%);
text-decoration: none;