Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
buddy_list: Add ellipses cutoff for headers that overflow.
evykassirer3910211518bb
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.cssindex 0374b09b782..526a6ec3082 100644--- a/web/styles/right_sidebar.css+++ b/web/styles/right_sidebar.css@@ -261,6 +261,14 @@ $user_status_emoji_width: 24px;opacity: var(--opacity-sidebar-heading);transition: opacity 140ms linear;grid-area: row-content;+ display: flex;+}++.buddy-list-heading-text {+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+ margin-right: 2px;}.buddy-list-subsection-header.no-display {diff --git a/web/templates/buddy_list/section_header.hbs b/web/templates/buddy_list/section_header.hbsindex a0d845cdd6a..7b48d8018e8 100644--- a/web/templates/buddy_list/section_header.hbs+++ b/web/templates/buddy_list/section_header.hbs@@ -1,4 +1,5 @@<i class="buddy-list-section-toggle zulip-icon zulip-icon-heading-triangle-right {{#if is_collapsed}}rotate-icon-right{{else}}rotate-icon-down{{/if}}" aria-hidden="true"></i><h5 id="{{id}}" data-user-count="{{user_count}}" class="buddy-list-heading no-style hidden-for-spectators">- {{header_text}} (<span class="buddy-list-heading-user-count">{{user_count}}</span>)+ <span class="buddy-list-heading-text">{{header_text}}</span>+ (<span class="buddy-list-heading-user-count">{{user_count}}</span>)</h5>