Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typeahead: Wrap topic name in topic edit recipient bar form.
Aman Agrawal606bb778c5cc
diff --git a/web/src/composebox_typeahead.ts b/web/src/composebox_typeahead.tsindex da00d08208b..b35e52f46dc 100644--- a/web/src/composebox_typeahead.ts+++ b/web/src/composebox_typeahead.ts@@ -1328,6 +1328,9 @@ export function initialize_topic_edit_typeahead(return topics_seen_for(stream_id);},items: max_num_items,+ getCustomItemClassname() {+ return "topic-edit-typeahead";+ },});}diff --git a/web/styles/typeahead.css b/web/styles/typeahead.cssindex 8ed9d3f5274..5bc00d2a796 100644--- a/web/styles/typeahead.css+++ b/web/styles/typeahead.css@@ -67,6 +67,17 @@gap: 0;}+ &.topic-edit-typeahead {+ display: flex;+ flex-wrap: wrap;++ .typeahead-strong-section {+ /* We want to wrap the topic but preserve+ original white spaces sequence too. */+ white-space: pre-wrap;+ }+ }+.typeahead-text-container {display: flex;align-self: center;