8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b276012 commit 67987bdCopy full SHA for 67987bd
github-markdown.css
@@ -689,7 +689,7 @@
689
margin-top: 3px;
690
}
691
692
-.markdown-body .task-list-item-checkbox {
+.markdown-body .task-list-item input {
693
float: left;
694
margin: 0.3em 0 0.25em -1.6em;
695
vertical-align: middle;
index.js
@@ -57,6 +57,11 @@ function cleanupCss(str) {
57
return false;
58
59
60
+ // work around GitHub Markdown API inconsistency #10
61
+ if (el.selectors[0] === '.task-list-item-checkbox') {
62
+ el.selectors[0] = '.task-list-item input';
63
+ }
64
+
65
// remove `body` from `body, input {}`
66
if (el.selectors[0] === 'body' && el.selectors[1] === 'input') {
67
el.selectors.shift();
0 commit comments