Skip to content

Build your personal knowledge base with Trilium Notes

feat(text): strike-through todo items (closes #4269)

Elian Dorand51e3de67474
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 4ce8b1cd77..7b95d13dfe 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -2434,6 +2434,15 @@ footer.webview-footer button {
.admonition.caution::before { content: "\eac7"; }
.admonition.warning::before { content: "\eac5"; }
+.ck-content ul.todo-list li span.todo-list__label__description {
+ transition: opacity 200ms ease;
+}
+
+.ck-content ul.todo-list li:has(input[type="checkbox"]:checked) span.todo-list__label__description {
+ text-decoration: line-through;
+ opacity: 0.6;
+}
+
.chat-options-container {
display: flex;
margin: 5px 0;