Skip to content

Commit

Permalink
Desktop, Mobile: Fixed vertical alignment of checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent22 committed Nov 10, 2024
1 parent e16f452 commit 49e86d1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/renderer/MdToHtml/rules/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,20 @@ function pluginAssets(theme: any) {
list-style-type: none;
}
li.md-checkbox .checkbox-wrapper {
display: flex;
flex-direction: row;
}
li.md-checkbox input[type=checkbox] {
display: flex;
margin-left: -1.71em;
margin-right: 0.7em;
}
li.md-checkbox label {
display: flex;
}
ul.joplin-checklist {
list-style:none;
Expand Down

1 comment on commit 49e86d1

@personalizedrefrigerator
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm linking an issue that may be related: #11425

Please # to comment.