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: Give appropirate name to option label container.

Shubham Padia10da3e3626e2
diff --git a/web/src/bootstrap_typeahead.ts b/web/src/bootstrap_typeahead.ts
index b5e1d17e4d6..8bca832f3ea 100644
--- a/web/src/bootstrap_typeahead.ts
+++ b/web/src/bootstrap_typeahead.ts
@@ -561,7 +561,9 @@ export class Typeahead<ItemType extends string | object> {
const option_label_html = this.option_label(matching_items, item);
if (option_label_html) {
- $item_html.append($(option_label_html)).addClass("typeahead-option-label");
+ $item_html
+ .append($(option_label_html))
+ .addClass("typeahead-option-label-container");
}
return $i;
});
diff --git a/web/styles/typeahead.css b/web/styles/typeahead.css
index 3ba3e53c27e..a023b347887 100644
--- a/web/styles/typeahead.css
+++ b/web/styles/typeahead.css
@@ -150,7 +150,7 @@
}
}
-.typeahead-option-label {
+.typeahead-option-label-container {
display: flex !important;
justify-content: space-between;