fix(styles): fix ck-editor checkboxes not showing checkmark while printing
This commit is contained in:
Elian Doran 2025-01-11 01:51:51 +02:00 committed by GitHub
commit fcb7d9754f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,4 +25,11 @@
border: 0.75pt solid gray !important;
border-radius: 2pt !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 {
/* fallback to default ck-editor green */
border-color: hsl(126, 64%, 41%);
}
}