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: Move message header padding to the element with border.

Aman Agrawal3acd7b8f4737
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index efa2d392287..d5a46788201 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1259,12 +1259,15 @@ td.pointer {
.message_header {
position: sticky;
- padding-top: var(--header-padding-bottom);
top: var(--header-height);
/* Needs to be higher than the z-index of date_row. */
z-index: 4;
box-shadow: 0 -1px 0 0 var(--color-background);
+ .message-header-contents {
+ margin-top: var(--header-padding-bottom);
+ }
+
&.sticky_header {
box-shadow: var(--unread-marker-left) 0 0 0 var(--color-background);