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.

css: Fix gap between header and sticky header at some zoom level.

Aman Agrawal44ae67d42602
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index d5a46788201..1d77fbe842d 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -339,6 +339,9 @@ p.n-margin {
height: var(--header-height);
/* Since the headers are sticky, we need non-transparent background. */
background-color: var(--color-background);
+ /* Add 1px box-shadow below header so that if there is a gap between sticky header
+ and header at some zoom level, it is covered by this */
+ box-shadow: 0 1px 0 0 var(--color-background);
}
#navbar-middle .column-middle-inner,