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.

right_sidebar: Fix full name overflowing its container.

Aman Agrawal5a5ec5518c52
diff --git a/static/styles/right_sidebar.css b/static/styles/right_sidebar.css
index 8c9cd96a3c7..99eda141deb 100644
--- a/static/styles/right_sidebar.css
+++ b/static/styles/right_sidebar.css
@@ -109,6 +109,11 @@
flex-direction: row;
}
+.user-name-and-status-wrapper {
+ display: block;
+ width: 100%;
+}
+
.user-presence-link {
width: calc(100% - 24px);
diff --git a/static/templates/presence_row.hbs b/static/templates/presence_row.hbs
index f76fa65b3fa..822b4d5d821 100644
--- a/static/templates/presence_row.hbs
+++ b/static/templates/presence_row.hbs
@@ -6,7 +6,7 @@
data-user-id="{{user_id}}"
data-name="{{name}}">
{{#if user_list_style.WITH_STATUS}}
- <div>
+ <div class="user-name-and-status-wrapper">
<div class="user-name-and-status-emoji">
<span class="user-name">{{name}}</span>
{{> status_emoji status_emoji_info}}