Prevent page breaking in some elements when printing

This commit is contained in:
BBaoVanC 2023-01-27 16:39:04 -06:00
parent f2f9e78559
commit 1caa7acdc9
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 4 additions and 3 deletions

View File

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