Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_presence_row: Use `unread_counts` class for showing unread count.
Aman Agrawal674452222999
diff --git a/static/styles/right_sidebar.css b/static/styles/right_sidebar.cssindex db3d004d258..41f1ba48f27 100644--- a/static/styles/right_sidebar.css+++ b/static/styles/right_sidebar.css@@ -126,24 +126,12 @@align-items: flex-start;justify-content: space-between;- .count {- float: right;- padding: 0 4px;- background-color: hsl(105, 2%, 50%);- color: hsl(0, 0%, 100%);- font-size: 12px;- line-height: 14px;- height: 15px;- font-weight: normal;- letter-spacing: 0.6px;- position: relative;- top: 3px;- border-radius: 4px;- margin-left: 5px;+ .unread_count {display: none;+ margin-top: 2.5px;}- &.user-with-count .count {+ &.user-with-count .unread_count {display: block;}}diff --git a/static/templates/user_presence_row.hbs b/static/templates/user_presence_row.hbsindex 05ca64317b9..b23deec9b0c 100644--- a/static/templates/user_presence_row.hbs+++ b/static/templates/user_presence_row.hbs@@ -10,7 +10,7 @@<span class="my_user_status">{{my_user_status}}</span>{{/if}}</a>- <span class="count"><span class="value">{{#if num_unread}}{{num_unread}}{{/if}}</span></span>+ <span class="unread_count">{{#if num_unread}}{{num_unread}}{{/if}}</span></div><span class="user-list-sidebar-menu-icon"><i class="zulip-icon ellipsis-v-solid" aria-hidden="true"></i></span></li>