print: fix overflows after removing !important stuff

This commit is contained in:
Sören Weber 2023-12-04 00:41:44 +01:00
parent f39d2b9a41
commit 829a097e18
No known key found for this signature in database
GPG Key ID: BEC6D55545451B6D

View File

@ -38,7 +38,8 @@ pre:not(.mermaid) {
} }
#R-body .topbar-button { #R-body .topbar-button {
/* we don't need the buttons while printing */ /* 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) { @media screen and (max-width: 47.999rem) {
#R-body .topbar-breadcrumbs { #R-body .topbar-breadcrumbs {
@ -78,6 +79,7 @@ hr{
border-bottom: 1px solid rgba( 221, 221, 221, 1 ); border-bottom: 1px solid rgba( 221, 221, 221, 1 );
} }
#R-body #R-body-inner { #R-body #R-body-inner {
overflow: visible; /* turn off limitations for perfect scrollbar */
/* reset paddings for chapters in screen */ /* reset paddings for chapters in screen */
padding: 0 3.25rem 4rem 3.25rem; padding: 0 3.25rem 4rem 3.25rem;
} }