Skip to content

Commit

Permalink
style: Modify task checkbox style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 13, 2022
1 parent 2ab7fdf commit 443984c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/Markdown/Resources/web.bundle/marked.css
Original file line number Diff line number Diff line change
Expand Up @@ -924,12 +924,14 @@
display: none;
}

.markdown-body .task-list-item-checkbox {
.markdown-body .task-list-item-checkbox,
.markdown-body input[type="checkbox"] {
margin: 0 .2em .25em -1.6em;
vertical-align: middle;
}

.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {
.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox,
.markdown-body .contains-task-list:dir(rtl) input[type="checkbox"] {
margin: 0 -1.6em .25em .2em;
}

Expand Down

0 comments on commit 443984c

Please sign in to comment.