Skip to content

Build your personal knowledge base with Trilium Notes

fix(quick-edit): use text-note margins on mobile

Elian Doran5d92c4dfc807
diff --git a/apps/client/src/widgets/dialogs/PopupEditor.css b/apps/client/src/widgets/dialogs/PopupEditor.css
index d7eb7fef18..4b5f9fb790 100644
--- a/apps/client/src/widgets/dialogs/PopupEditor.css
+++ b/apps/client/src/widgets/dialogs/PopupEditor.css
@@ -201,6 +201,11 @@ body.mobile .modal.popup-editor-dialog .modal-body {
overflow: visible; /* Allow selection rectangle to go outside of the editor area */
}
+/* Mobile drops the block drag handle the 28px makes room for; match a text note's 8px margin. */
+body.mobile .modal.popup-editor-dialog .note-detail-editable-text-editor {
+ margin-inline: 8px;
+}
+
.modal.popup-editor-dialog .note-detail-file {
padding: 0;
}