Skip to content

Build your personal knowledge base with Trilium Notes

style/text editor/checkboxes: prevent the block handle overlap the collapse/expand arrow for nested to-do lists

Adorian Doran067db5053271
diff --git a/apps/client/src/widgets/type_widgets/text/EditableText.css b/apps/client/src/widgets/type_widgets/text/EditableText.css
index 9927a65ee8..9b991701f4 100644
--- a/apps/client/src/widgets/type_widgets/text/EditableText.css
+++ b/apps/client/src/widgets/type_widgets/text/EditableText.css
@@ -52,4 +52,10 @@ body.heading-style-underline .note-detail-editable-text h6 { border-bottom: 1px
.note-detail-editable-text .ck.ck-editor__editable_inline {
padding: 0;
+}
+
+.note-detail-editable-text ul.todo-list:not(.todo-list .todo-list) {
+ /* Prevent the block handle overlap the expand/collapse arrows for the first
+ * level of nested checkboxes */
+ margin-inline-start: 14px;
}
\ No newline at end of file