From 911683d2cfbfefda40924a8f087baf8b21ecde24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20T=2E=20Listwon?= Date: Mon, 18 Sep 2017 18:34:57 +0200 Subject: [PATCH] Fix styling regression on print media in chromium Forces 0px left padding on print view even if sidebar is visible --- src/theme/book.css | 3 +++ src/theme/stylus/print.styl | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/theme/book.css b/src/theme/book.css index 386cb28f..26921e6e 100644 --- a/src/theme/book.css +++ b/src/theme/book.css @@ -931,6 +931,9 @@ table thead td { left: 0; overflow-y: initial; } + #page-wrapper.page-wrapper { + padding-left: 0px; + } #content { max-width: none; margin: 0; diff --git a/src/theme/stylus/print.styl b/src/theme/stylus/print.styl index 977ba353..5b5086ef 100644 --- a/src/theme/stylus/print.styl +++ b/src/theme/stylus/print.styl @@ -12,6 +12,10 @@ overflow-y: initial; } + #page-wrapper.page-wrapper { + padding-left: 0px; + } + #content { max-width: none; margin: 0;