prevent figure splitting
This commit is contained in:
parent
b828715f60
commit
a4edf92e05
1 changed files with 7 additions and 0 deletions
|
@ -245,4 +245,11 @@ table:not(.hljs-ln) tr th:last-child {
|
|||
.footnote-ref > a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Prevent figures from splitting accross pages */
|
||||
article *:has(img),
|
||||
table:not(.hljs-ln),
|
||||
table:not(.hljs-ln) > * {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue