From 829a097e18e95744eb1b21bd9697c0609650d363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 4 Dec 2023 00:41:44 +0100 Subject: [PATCH] print: fix overflows after removing !important stuff --- assets/css/format-print.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/css/format-print.css b/assets/css/format-print.css index 981f1edb5a..4a026387fe 100644 --- a/assets/css/format-print.css +++ b/assets/css/format-print.css @@ -38,7 +38,8 @@ pre:not(.mermaid) { } #R-body .topbar-button { /* we don't need the buttons while printing */ - display: none; + /* we need !important to turn off JS topbar button handling setting element styles */ + display: none !important; } @media screen and (max-width: 47.999rem) { #R-body .topbar-breadcrumbs { @@ -78,6 +79,7 @@ hr{ border-bottom: 1px solid rgba( 221, 221, 221, 1 ); } #R-body #R-body-inner { + overflow: visible; /* turn off limitations for perfect scrollbar */ /* reset paddings for chapters in screen */ padding: 0 3.25rem 4rem 3.25rem; }