mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
users: Add ellipsis only on names and show the indicator always.
We now show the guest indicator even for long names and only truncate the names in right sidebar and the message feed.
This commit is contained in:
@@ -363,6 +363,10 @@ $time_column_min_width: 42px; /* + padding */
|
||||
white-space: normal;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.sender_name_text {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&.content_edit_mode {
|
||||
|
@@ -1784,8 +1784,13 @@ td.pointer {
|
||||
|
||||
.sender_name_text {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: inline-flex;
|
||||
|
||||
.user-name {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
{{#if user_list_style.WITH_STATUS}}
|
||||
<div class="user-name-and-status-wrapper">
|
||||
<div class="user-name-and-status-emoji">
|
||||
<span class="user-name">{{> user_full_name}}</span>
|
||||
{{> user_full_name}}
|
||||
{{> status_emoji status_emoji_info}}
|
||||
</div>
|
||||
<span class="status-text">{{status_text}}</span>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{#if should_add_guest_user_indicator}}
|
||||
{{#tr}}{name} <i class="guest-indicator">(guest)</i>{{/tr}}
|
||||
<span class="user-name">{{name}}</span> <i class="guest-indicator">({{t 'guest' }})</i>
|
||||
{{else}}
|
||||
<span class="user-name">{{name}}</span>
|
||||
{{/if}}
|
||||
|
Reference in New Issue
Block a user