Skip to content

Build your personal knowledge base with Trilium Notes

fix(print): missing border for footnote section

Elian Doran34397d033988
diff --git a/apps/client/src/print.css b/apps/client/src/print.css
index ac09464de6..e5ebcb3a38 100644
--- a/apps/client/src/print.css
+++ b/apps/client/src/print.css
@@ -76,7 +76,7 @@ body[data-note-type="text"] .ck-content {
--task-state-glyph-font-family: initial;
--task-state-color: initial;
}
-
+
:where(.ck-content .todo-list li:where(:not([data-trilium-task-state]), [data-trilium-task-state="done"]):has(> .todo-list__label input[type="checkbox"]:checked)) {
--task-state-glyph: "";
--task-state-glyph-font-family: boxicons;
@@ -87,7 +87,7 @@ body[data-note-type="text"] .ck-content {
--box-ratio: 0.75;
/* The size of the gap between the check box and the caption */
--box-text-gap: 0.25em;
-
+
/* The percentage of the box size that the glyph occupies. */
--glyph-ratio: .70;
@@ -146,6 +146,12 @@ li.footnote-item {
margin-right: 0.25em;
}
+.ck-content .footnote-section {
+ margin-top: 1em;
+ border-top: 1px solid #ccc;
+ padding-top: 1em;
+}
+
.ck-content .footnote-content {
display: inline-block;
width: unset;