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: Calculate top based on prominent row height.

Karl Stolley52d8813214c9
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 0f357702374..48550080cc6 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -1383,7 +1383,10 @@ li.topic-list-item {
.zoom-in {
.narrow-filter > .bottom_left_row {
position: sticky;
- top: calc(var(--left-sidebar-sections-vertical-gutter) + 20px);
+ top: calc(
+ var(--left-sidebar-sections-vertical-gutter) +
+ var(--line-height-sidebar-row-prominent)
+ );
z-index: 2;
padding-bottom: 1px;
background-color: var(--color-background);