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.

print: Try to keep message headers with messages.

Karl Stolley399092543ce3
diff --git a/web/styles/print.css b/web/styles/print.css
index 3bb1f71deb7..c945a539cd9 100644
--- a/web/styles/print.css
+++ b/web/styles/print.css
@@ -49,6 +49,12 @@
visibility: hidden;
}
+ /* Try to keep the message header with the messages
+ that follow in interleaved views. */
+ .message_header_stream {
+ break-after: avoid;
+ }
+
/* Don't highlight the selected message. */
.selected_message .messagebox-content {
outline: 0;