mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
buddy_list: Add ellipses cutoff for headers that overflow.
This is mostly for translations.
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user