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.

compose: Overflow long stream names with ellipsis in dropdown menu.

evykassirer5ca73388c056
diff --git a/web/styles/compose.css b/web/styles/compose.css
index 2fc222f9590..6d25fcc178a 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -747,7 +747,6 @@ a.compose_control_button.hide {
#compose_stream_selection_dropdown {
display: flex;
- flex-wrap: wrap;
justify-content: flex-start;
.stream_header_colorblock {
@@ -757,6 +756,7 @@ a.compose_control_button.hide {
.dropdown-toggle {
border-radius: 0 4px 4px 0 !important;
display: flex;
+ max-width: 130px;
}
.dropup .dropdown-menu {
@@ -773,6 +773,9 @@ a.compose_control_button.hide {
#compose_select_stream_name {
flex-grow: 1;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.dropdown-list-body .list_item a {