buddy_list: Add ellipses cutoff for headers that overflow.

This is mostly for translations.
This commit is contained in:
evykassirer
2024-12-05 15:38:11 -08:00
committed by Tim Abbott
parent 253e7d5dff
commit 3910211518
2 changed files with 10 additions and 1 deletions

View File

@@ -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>