From d8520dd4e6892e38ef58d8e8c7efe008e5a005e7 Mon Sep 17 00:00:00 2001 From: Ben Cohen Date: Mon, 14 Feb 2022 15:04:18 -0500 Subject: [PATCH] Updated to work with live editor --- manifest.json | 2 +- styles.css | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index a533709..ef002df 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "completed-task-display", "name": "Completed Task Display", - "version": "1.0.2", + "version": "1.0.3", "minAppVersion": "0.10.0", "description": "Provides a button in the ribbon to hide or display completed tasks", "author": "Ben Lee-Cohen", diff --git a/styles.css b/styles.css index 84c9246..5d25c61 100644 --- a/styles.css +++ b/styles.css @@ -1,3 +1,5 @@ -body.hide-completed-tasks .markdown-preview-view ul > li.task-list-item.is-checked { - display: none; -} \ No newline at end of file +body.hide-completed-tasks .markdown-preview-view ul > li.task-list-item.is-checked, +body.hide-completed-tasks .markdown-source-view .HyperMD-task-line[data-task]:not([data-task=" "]) { + display: none; + } +}"]) \ No newline at end of file