From 7012fd5b78af8a21c00cf9d9b65fa11e99f364fc Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Thu, 3 Aug 2023 15:26:10 -0500 Subject: [PATCH] print: Add Safari-inspired fixes. --- web/styles/print.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/styles/print.css b/web/styles/print.css index bcaa526a1c..3bb1f71deb 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 {