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.

left_sidebar: Suppress home-view dot with zero unreads.

Karl Stolleyb7ac8ea5d839
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index bbf9d7a8989..474a4abe535 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -1120,8 +1120,9 @@ li.active-sub-filter {
&.hide-unread-messages-count {
/* Restore the unread dot when message counts
- are hidden. */
- .selected-home-view .unread_count {
+ are hidden, unless there are no unreads,
+ of course. */
+ .selected-home-view .unread_count:not(:empty) {
display: block;
}
/* We suppress the entire unread area