Skip to content

Commit 49e86d1

Browse files
committed
Desktop, Mobile: Fixed vertical alignment of checkboxes
1 parent e16f452 commit 49e86d1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/renderer/MdToHtml/rules/checkbox.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,20 @@ function pluginAssets(theme: any) {
2121
list-style-type: none;
2222
}
2323
24+
li.md-checkbox .checkbox-wrapper {
25+
display: flex;
26+
flex-direction: row;
27+
}
28+
2429
li.md-checkbox input[type=checkbox] {
30+
display: flex;
2531
margin-left: -1.71em;
2632
margin-right: 0.7em;
2733
}
34+
35+
li.md-checkbox label {
36+
display: flex;
37+
}
2838
2939
ul.joplin-checklist {
3040
list-style:none;

0 commit comments

Comments
 (0)