Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

inbox: Remove flexbox nonsense from user rows.

Anders Kaseorgf0945518ba3b
diff --git a/web/styles/inbox.css b/web/styles/inbox.css
index cdac68429f0..41619b8599c 100644
--- a/web/styles/inbox.css
+++ b/web/styles/inbox.css
@@ -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;
}
}
}
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index a9df2a96f80..ab8c0561472 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -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;
diff --git a/web/templates/user_with_status_icon.hbs b/web/templates/user_with_status_icon.hbs
index c09804b5b76..2d6d253170d 100644
--- a/web/templates/user_with_status_icon.hbs
+++ b/web/templates/user_with_status_icon.hbs
@@ -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>