mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Prevent page breaking in some elements when printing
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user