Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(print): better widows & orphans support
Elian Doran2bb006d80efc
diff --git a/src/public/stylesheets/print.css b/src/public/stylesheets/print.cssindex 2ff8844403..3667e2c605 100644--- a/src/public/stylesheets/print.css+++ b/src/public/stylesheets/print.css@@ -213,4 +213,18 @@ span[style] {.note-detail-printable .footnote-reference a,.footnote-back-link a {text-decoration: none;- }\ No newline at end of file+ }++/*+ * Widows and orphans+ */+p,+blockquote {+ widows: 4;+ orphans: 4;+}++pre > code {+ widows: 6;+ orphans: 6;+}\ No newline at end of file