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: Prevent bleedthrough on Channels heading.

Karl Stolleye7e1ddcafeb6
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 58c6463ed08..6ebaa66ed53 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -1605,7 +1605,6 @@ li.topic-list-item {
top: 0;
z-index: 2;
background-color: var(--color-background);
- border-radius: 4px;
&.showing-stream-search-section {
/* Open up the stream-search rows. The 10px
@@ -1671,6 +1670,10 @@ li.topic-list-item {
&:hover,
&.showing-streams-popover {
+ /* We only set the border radius on the hover/popover states,
+ so as to prevent the background on highlighted channels
+ from bleeding through. */
+ border-radius: 4px;
background-color: var(--color-background-opaque-hover-narrow-filter);
box-shadow: inset 0 0 0 1px var(--color-shadow-sidebar-row-hover);