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: Correct for bleedthrough on zoomed-in channel.

Karl Stolley16ac3c019adb
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 83b23bc73e9..3e16222ec62 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -1879,9 +1879,13 @@ li.topic-list-item {
.zoom-in {
.narrow-filter > .bottom_left_row {
position: sticky;
+ /* We subtract a quarter pixel of space to correct
+ for possible bleedthrough under certain viewing
+ conditions (e.g., external monitors.) This same
+ technique is used on #streams_header. */
top: calc(
var(--left-sidebar-sections-vertical-gutter) +
- var(--line-height-sidebar-row-prominent)
+ var(--line-height-sidebar-row-prominent) - 0.25px
);
z-index: 2;
padding-bottom: 1px;