Skip to content

Commit

Permalink
Desktop, Mobile: Fix vertical alignment of checkboxes when text wraps…
Browse files Browse the repository at this point in the history
… over multiple lines
  • Loading branch information
laurent22 committed Nov 12, 2024
1 parent 6c0258e commit 226a8b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/renderer/MdToHtml/rules/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ function pluginAssets(theme: any) {
li.md-checkbox .checkbox-wrapper {
display: flex;
flex-direction: row;
align-items: flex-start;
}
li.md-checkbox input[type=checkbox] {
display: flex;
margin-left: -1.71em;
margin-right: 0.7em;
margin-top: 5px;
}
li.md-checkbox label {
Expand Down

0 comments on commit 226a8b3

Please sign in to comment.