mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-21 20:03:18 -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 {
|
||||
: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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user