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 unread count on highlighted home row.

Karl Stolley1b7e42c7dfc0
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 0480b5a6110..4f5e798e5ba 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -1393,6 +1393,18 @@ li.top_left_scheduled_messages {
height: var(--line-height-sidebar-row);
}
}
+
+ /* When unread counts display in the condensed-view
+ row for users who do not prefer to mask their unread
+ counts, we suppress the count on the highlighted
+ home-view row. */
+ &:not(:has(.hide-unread-messages-count)) {
+ + #left-sidebar-navigation-list {
+ .selected-home-view .unread_count {
+ display: none;
+ }
+ }
+ }
}
/* Remove the cursor: pointer property of Views label for the spectators. */