Skip to content

Commit

Permalink
fix: clickable zone of task list checkbox
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Trovic <[email protected]>
  • Loading branch information
luka-nextcloud authored and juliusknorr committed Jun 20, 2023
1 parent 94000ce commit 9dcb688
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css/prosemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ div.ProseMirror {
}
}

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

.checkbox-item {
display: flex;
align-items: start;
Expand All @@ -61,6 +65,7 @@ div.ProseMirror {
box-shadow: none !important;
background-position: center;
cursor: pointer;
left: 9px;
}
&.checked{
&:before {
Expand All @@ -77,6 +82,7 @@ div.ProseMirror {
display: block;
flex-grow: 1;
max-width: calc(100% - 28px);
margin-left: 9px;
}
}

Expand Down

0 comments on commit 9dcb688

Please sign in to comment.