Skip to content

Build your personal knowledge base with Trilium Notes

fix(client/text): wrong strike-through of nested TODOs

Elian Doran5b708e77aa4e
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 71c681ac12..9ef1c5e2da 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -2461,7 +2461,7 @@ footer.webview-footer button {
transition: opacity 200ms ease;
}
-.ck-content ul.todo-list li:has(input[type="checkbox"]:checked) span.todo-list__label__description {
+.ck-content ul.todo-list li:has(> span.todo-list__label input[type="checkbox"]:checked) > span.todo-list__label span.todo-list__label__description {
text-decoration: line-through;
opacity: 0.6;
}