Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recipient_bar: Add box shadow at top.
Aman Agrawal7dacbc934f9a
diff --git a/static/js/message_list_view.js b/static/js/message_list_view.jsindex 923c14a7537..bb0ab004d18 100644--- a/static/js/message_list_view.js+++ b/static/js/message_list_view.js@@ -1471,6 +1471,8 @@ export class MessageListView {const partially_hidden_header_position = visible_top - 1;function is_sticky(header) {+ // header has a box-shodow of `1px` at top but since it doesn't impact+ // `y` position of the header, we don't take it into account during calculations.const header_props = header.getBoundingClientRect();// This value is dependent upon margin-bottom applied to recipient row.const margin_between_recipient_rows = 10;diff --git a/static/styles/dark_theme.css b/static/styles/dark_theme.cssindex ec8e5d085dc..a3a9faeff7c 100644--- a/static/styles/dark_theme.css+++ b/static/styles/dark_theme.css@@ -364,6 +364,10 @@color: hsl(212, 28%, 18%);}+ .message_header {+ box-shadow: 0 -1px 0 0 hsl(212, 28%, 18%);+ }+/* these are converting grey things to "new grey" */:disabled,input:not([type="radio"]):read-only,diff --git a/static/styles/zulip.css b/static/styles/zulip.cssindex dfcbcc02b3d..eea264bdc26 100644--- a/static/styles/zulip.css+++ b/static/styles/zulip.css@@ -1087,6 +1087,7 @@ td.pointer {position: sticky;top: $sidebar_top;z-index: 3;+ box-shadow: 0 -1px 0 0 hsl(0, 0%, 100%);@media (width < $sm_min) {top: $sidebar_top_sm;