Skip to content

Commit

Permalink
Merge pull request #908 from pano9000/fix_printthis_#901
Browse files Browse the repository at this point in the history
fix(styles): fix ck-editor checkboxes not showing checkmark while printing
  • Loading branch information
eliandoran authored Jan 10, 2025
2 parents c94346c + 01515bd commit fcb7d97
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/public/stylesheets/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%);
}
}

0 comments on commit fcb7d97

Please sign in to comment.