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.

unreads: Hide empty unread count pill.

Karl Stolley896a7680382f
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.css
index e06d1128d74..9be499978bf 100644
--- a/web/styles/right_sidebar.css
+++ b/web/styles/right_sidebar.css
@@ -185,6 +185,13 @@ $user_status_emoji_width: 24px;
&.user-with-count .unread_count {
display: block;
margin-left: 4px;
+
+ &:empty {
+ /* Hide otherwise empty unread count pill
+ after DMs have been read, but before the
+ count has been removed from the DOM. */
+ display: none;
+ }
}
}