Skip to content

Commit

Permalink
Updated to work with live editor
Browse files Browse the repository at this point in the history
  • Loading branch information
heliostatic committed Feb 14, 2022
1 parent 1b0c8e6 commit d8520dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 5 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
body.hide-completed-tasks .markdown-preview-view ul > li.task-list-item.is-checked {
display: none;
}
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;
}
}"])

0 comments on commit d8520dd

Please sign in to comment.