Skip to content

Commit db52537

Browse files
committed
fix checkbox rendering in markdown
1 parent c89bcc7 commit db52537

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web_src/less/markup/content.less

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,12 @@
158158

159159
.task-list-item {
160160
list-style-type: none;
161+
position: relative;
161162

162163
input[type="checkbox"] {
163-
margin: 0 6px .25em -1.6em;
164+
position: absolute;
165+
top: .25em;
166+
left: -1.6em;
164167
}
165168
}
166169

0 commit comments

Comments
 (0)