Skip to content

Commit

Permalink
fix: Use regular flex layout for checkboxes
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Sep 1, 2023
1 parent 8465531 commit 4587795
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/css/prosemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ div.ProseMirror {
.checkbox-item {
display: flex;
align-items: start;
// Left-align with list item text
margin-left: -23px;

input[type=checkbox] {
display: none;
Expand All @@ -57,7 +55,6 @@ div.ProseMirror {
vertical-align: middle;
margin: 3px 6px 3px 2px;
border: 1px solid var(--color-text-maxcontrast);
position: relative;
display: block;
border-radius: var(--border-radius);
height: 14px;
Expand All @@ -82,7 +79,6 @@ div.ProseMirror {
display: block;
flex-grow: 1;
max-width: calc(100% - 28px);
margin-left: 9px;
}
}

Expand Down

0 comments on commit 4587795

Please sign in to comment.