File tree 1 file changed +16
-10
lines changed
1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change 155
155
156
156
.markup .task-list-item {
157
157
list-style-type : none;
158
- position : relative;
159
- line-height : 1.5rem ;
160
- min-height : 1.5rem ; /* // to render a checkbox list without content `- [ ]`, we need this min-height to make sure the <li> can be visible */
158
+ }
159
+
160
+ .markup .task-list-item p + ul {
161
+ margin-top : 16px ;
161
162
}
162
163
163
164
.markup .task-list-item input [type = "checkbox" ] {
164
- position : absolute;
165
- top : 0.25em ;
166
- left : -1.6em ;
165
+ margin : 0 .3em .25em -1.4em ;
166
+ vertical-align : middle;
167
+ padding : 0 ;
168
+ }
169
+
170
+ .markup .task-list-item input [type = "checkbox" ] + p {
171
+ margin-left : -0.2em ;
172
+ display : inline;
167
173
}
168
174
169
- .markup .task-list-item p {
170
- line-height : 1.5 rem ;
175
+ .markup .task-list-item > p {
176
+ margin-inline : 16 px ;
171
177
}
172
178
173
179
.markup .task-list-item + .task-list-item {
174
- margin-top : 3 px ;
180
+ margin-top : 4 px ;
175
181
}
176
182
177
183
.markup input [type = "checkbox" ] {
327
333
328
334
.markup img [align = "left" ],
329
335
.markup video [align = "left" ] {
330
- padding-right : 20 px ;
336
+ padding-right : 28 px ;
331
337
}
332
338
333
339
.markup .emoji {
You can’t perform that action at this time.
0 commit comments