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 extra space between stream header and PM header.

Aman Agrawalec1a114c7e31
diff --git a/static/styles/left_sidebar.css b/static/styles/left_sidebar.css
index cd8be55fcf2..c31004e1595 100644
--- a/static/styles/left_sidebar.css
+++ b/static/styles/left_sidebar.css
@@ -633,7 +633,9 @@ li.topic-list-item {
cursor: pointer;
padding: $sections_vertical_gutter 0 3px calc($far_left_gutter_size + 2px);
position: sticky;
- top: 0;
+ /* Ideally, 0px should work here, but maybe simplebar is doing something
+ that is creating `0.5px` extra gap in zoomed-in windows. */
+ top: -0.5px;
background: hsl(0, 0%, 100%);
z-index: 1;