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: Add Safari-inspired fixes.

Karl Stolley7012fd5b78af
diff --git a/web/styles/print.css b/web/styles/print.css
index bcaa526a1c5..3bb1f71deb7 100644
--- a/web/styles/print.css
+++ b/web/styles/print.css
@@ -4,6 +4,7 @@
#streamlist-toggle,
#left-sidebar-container,
#right-sidebar-container,
+ .column-left,
.top-messages-logo,
#userlist-toggle,
.message_length_controller,
@@ -12,10 +13,17 @@
#message_feed_errors_container,
#bottom_whitespace,
#mark_read_on_scroll_state_banner,
+ .trailing_bookend,
#compose {
display: none;
}
+ /* Allow printer to set the margins, and
+ prevent Safari from using screen-based ones. */
+ .column-middle {
+ margin: 0;
+ }
+
/* Prevent headers from running on every page. */
#navbar-fixed-container,
.message_list .message_header {