feat(print): improve rendering of tables

This commit is contained in:
Elian Doran 2025-01-31 23:57:50 +02:00
parent 3927548afb
commit d1a5d317ed
No known key found for this signature in database

View File

@ -1,6 +1,7 @@
:root {
--main-background-color: white;
--input-text-color: black;
--main-text-color: black;
--input-text-color: var(--main-text-color);
}
.no-print,
@ -100,6 +101,26 @@ span[style] {
-webkit-print-color-adjust: exact;
}
/*
* Text note specific fixes
*/
.ck-widget {
outline: none !important;
}
.ck-widget__type-around,
.ck-widget__selection-handle {
display: none !important;
}
.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,
.ck-widget.table td.ck-editor__nested-editable:focus,
.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,
.ck-widget.table th.ck-editor__nested-editable:focus {
background: unset !important;
outline: unset !important;
}
/* Fix visibility of checkbox checkmarks
see https://github.com/TriliumNext/Notes/issues/901 */
.ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input[checked]::after {