Skip to content

Commit

Permalink
Merge pull request #6455 from nextcloud/fix/task_list_indention
Browse files Browse the repository at this point in the history
fix(tasklist): Correct indention
  • Loading branch information
mejo- authored Sep 24, 2024
2 parents af45766 + 1687d9b commit ef64839
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 @@ -46,13 +46,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 @@ -69,7 +67,6 @@ div.ProseMirror {
box-shadow: none !important;
background-position: center;
cursor: pointer;
left: 9px;
}
&.checked{
&:before {
Expand Down

0 comments on commit ef64839

Please sign in to comment.