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: Make streams header sticky.

Karl Stolleybfaa328bd7ec
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 472d962b5ea..bd515d79a86 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -1165,6 +1165,8 @@ li.topic-list-item {
cursor: pointer;
padding: $sections_vertical_gutter 0 3px calc($far_left_gutter_size + 2px);
position: sticky;
+ /* Keep sticky within SimpleBar context. */
+ top: 0;
background-color: var(--color-background);
/* Ideally, 0px should work here, but maybe simplebar is doing something
that is creating `0.5px` extra gap in zoomed-in windows. */