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 gap between direct-messages and streams_header.

debghs253efe1686cb
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 2a5034f1713..2bdd5857372 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -1613,8 +1613,10 @@ li.topic-list-item {
margin: var(--left-sidebar-sections-vertical-gutter)
var(--left-sidebar-right-margin) 3px 0;
position: sticky;
- /* Keep sticky within SimpleBar context. */
- top: 0;
+ /* Keep sticky within SimpleBar context. The -0.25px
+ offset ensures that no gap is present between the
+ direct-messages-section-header and the streams-header */
+ top: -0.25px;
z-index: 2;
background-color: var(--color-background);