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: Fix bug where viewing all DMs didn't highlight header.

Evy Kassirer7595f4b4bdc7
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 84a2277d917..6acfb86c557 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -289,7 +289,11 @@
position: sticky;
top: 0;
z-index: 3;
- background-color: var(--color-background);
+
+ /* The active direct messages section has a different background color */
+ &:not(.active-direct-messages-section) {
+ background-color: var(--color-background);
+ }
/* Prevent hover styles set on other rows when zoomed in. */
&:not(.zoom-in):hover {