Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_row: Place private message styles in sensible area.
Karl Stolley27ebc761e7ef
diff --git a/web/styles/message_row.css b/web/styles/message_row.cssindex 406ef982483..6b46ac7da05 100644--- a/web/styles/message_row.css+++ b/web/styles/message_row.css@@ -13,6 +13,22 @@border-right: 1px solid var(--color-message-list-border);background-color: var(--color-background-stream-message-content);+ &.private-message {+ background-color: var(--color-background-private-message-content);++ .date_row {+ background-color: var(--color-background-private-message-content);+ }++ .data-container::after {+ background: linear-gradient(+ 0deg,+ var(--color-background-private-message-content),+ transparent 100%+ );+ }+ }+&.direct_mention {background-color: var(--color-background-direct-mention);diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex a53545fc2d6..b5f695e5955 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -1346,22 +1346,6 @@ td.pointer {}}-.message_row.private-message {- background-color: var(--color-background-private-message-content);-- .date_row {- background-color: var(--color-background-private-message-content);- }-- .data-container::after {- background: linear-gradient(- 0deg,- var(--color-background-private-message-content),- transparent 100%- );- }-}-.selected_message {.messagebox-content {/* We add an outline and shift it inside the message so that without