mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(print): improve rendering of tables
This commit is contained in:
parent
3927548afb
commit
d1a5d317ed
@ -1,6 +1,7 @@
|
|||||||
:root {
|
:root {
|
||||||
--main-background-color: white;
|
--main-background-color: white;
|
||||||
--input-text-color: black;
|
--main-text-color: black;
|
||||||
|
--input-text-color: var(--main-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-print,
|
.no-print,
|
||||||
@ -100,6 +101,26 @@ span[style] {
|
|||||||
-webkit-print-color-adjust: exact;
|
-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
|
/* Fix visibility of checkbox checkmarks
|
||||||
see https://github.com/TriliumNext/Notes/issues/901 */
|
see https://github.com/TriliumNext/Notes/issues/901 */
|
||||||
.ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input[checked]::after {
|
.ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input[checked]::after {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user