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.

search pills: Prevent overflow in the typeahead for very long pills.

evykassirer9c45e4370605
diff --git a/web/styles/search.css b/web/styles/search.css
index 6920098e9ab..b91faca5f6d 100644
--- a/web/styles/search.css
+++ b/web/styles/search.css
@@ -331,12 +331,17 @@
/* Override white-space: nowrap from zulip.css */
white-space: normal;
+ .search_list_item {
+ max-width: 100%;
+ }
+
.search_list_item .pill-container {
margin-left: 5px;
/* This contains only one pill, which handles its own border */
border: none;
cursor: pointer;
padding: 0;
+ max-width: 100%;
}
.pill {