1
0
mirror of https://github.com/BBaoVanC/bobatheme.git synced 2025-06-17 19:37:29 -05:00

Prevent page breaking in some elements when printing

This commit is contained in:
2023-01-27 16:39:04 -06:00
parent f2f9e78559
commit 1caa7acdc9

@ -113,6 +113,7 @@
@media print { @media print {
:root { :root {
--background-0: #fff; --background-0: #fff;
--text-0: #000;
} }
} }
@ -996,9 +997,9 @@ li.disabled > .page-link:hover {
max-width: 100%; max-width: 100%;
} }
pre { table,
white-space: pre-wrap; aside,
overflow-wrap: anywhere; .code-block {
break-inside: avoid; break-inside: avoid;
} }