Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: fade all nodes inside a checklist item except for a nested checklist (#9008)

01zulfi81da60333d73
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css
index 6d1d09d4d..ffd3f9435 100644
--- a/packages/editor/styles/styles.css
+++ b/packages/editor/styles/styles.css
@@ -761,10 +761,11 @@ p > *::selection {
mask-size: cover;
}
-.simple-checklist > li.checked p {
+.simple-checklist > li.checked > :not(.simple-checklist) {
opacity: 0.8;
}
+
/* Callout */
.ProseMirror div.callout {
padding: 15px;