feat(print): better widows & orphans support

This commit is contained in:
Elian Doran
2025-02-01 19:11:44 +02:00
parent e3816c30c0
commit 2bb006d80e

View File

@@ -213,4 +213,18 @@ span[style] {
.note-detail-printable .footnote-reference a,
.footnote-back-link a {
text-decoration: none;
}
}
/*
* Widows and orphans
*/
p,
blockquote {
widows: 4;
orphans: 4;
}
pre > code {
widows: 6;
orphans: 6;
}