inbox: Remove flexbox nonsense from user rows.

There was no reason for this to be a flexbox, and it was interfering
with wrapping of long names.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-03-27 13:38:26 -07:00 committed by Tim Abbott
parent c3caa3ecc8
commit f0945518ba
3 changed files with 3 additions and 28 deletions

View File

@ -405,13 +405,11 @@
flex-wrap: wrap;
column-gap: 10px;
grid-area: recipient_info;
overflow: hidden;
word-break: break-word;
.user_block {
display: flex;
align-items: center;
white-space: nowrap;
overflow: hidden;
.fa-group {
font-size: 11px;
@ -420,19 +418,6 @@
margin-top: 5px;
opacity: 0.7;
}
.user_status_icon_wrapper {
overflow: hidden;
text-overflow: ellipsis;
}
}
.recipients_name {
display: flex;
flex-wrap: wrap;
white-space: nowrap;
gap: 2px;
overflow: hidden;
}
}
}

View File

@ -241,16 +241,6 @@
align-items: center;
}
.flex_container .left_part {
flex-wrap: wrap;
.user_status_icon_wrapper {
display: inline-flex;
align-items: center;
flex-direction: row;
}
}
.flex_container .right_part {
margin-left: auto;
display: inline-flex;

View File

@ -1,4 +1,4 @@
<div class="user_status_icon_wrapper">
<span class="user_status_icon_wrapper">
<span class="user-name">{{name}}</span>
{{> status_emoji status_emoji_info}}
</div>
</span>