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
style(print): improve footnotes
Adorian Doran9b775a142d6d
diff --git a/src/public/stylesheets/print.css b/src/public/stylesheets/print.cssindex 55c69ebc39..3946d5f951 100644--- a/src/public/stylesheets/print.css+++ b/src/public/stylesheets/print.css@@ -246,7 +246,39 @@ span[style] {.note-detail-printable .footnote-reference a,.footnote-back-link a {text-decoration: none;- }+}++/* Make the "^" link cover the whole area of the footnote item */++.footnote-section {+ clear: both;+}++.note-detail-printable li.footnote-item {+ position: relative;+ width: fit-content;+}++.note-detail-printable .footnote-back-link,+.note-detail-printable .footnote-back-link *,+.note-detail-printable .footnote-back-link a {+ display: block;+ position: absolute;++ top: 0;+ left: 0;+ width: 100%;+ height: 100%;+}++.note-detail-printable .footnote-back-link a {+ color: transparent;+}++.note-detail-printable .footnote-content {+ display: inline-block;+ width: unset;+}/** Widows and orphans