Skip to content

Commit

Permalink
fix(tasklist): Correct indention
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- authored and backportbot[bot] committed Sep 24, 2024
1 parent 588c02d commit 689c046
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/css/prosemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@ div.ProseMirror {
}
}

ul[data-type=taskList] {
margin-left: 1px;
}

.checkbox-item {
display: flex;
align-items: start;
// Leave space for checkbox (14px width + 2x 1px border + 6px margin-right)
margin-left: -24px;

input[type=checkbox] {
display: none;
Expand All @@ -62,7 +60,6 @@ div.ProseMirror {
box-shadow: none !important;
background-position: center;
cursor: pointer;
left: 9px;
}
&.checked{
&:before {
Expand Down

0 comments on commit 689c046

Please sign in to comment.