Skip to content

Build your personal knowledge base with Trilium Notes

style(quick-edit): drop comments that restate the rules

Elian Doran3479f599736c
diff --git a/apps/client/src/widgets/dialogs/PopupEditor.css b/apps/client/src/widgets/dialogs/PopupEditor.css
index 7f6738bbd1..f70e67f5f0 100644
--- a/apps/client/src/widgets/dialogs/PopupEditor.css
+++ b/apps/client/src/widgets/dialogs/PopupEditor.css
@@ -107,8 +107,6 @@ body.mobile .modal.popup-editor-dialog .modal-dialog {
flex-direction: column;
}
-/* Fades the content at the top edge instead of clipping it; the padding keeps the first line
- clear at rest. */
body.mobile .modal.popup-editor-dialog .popup-editor-scroll {
--scroll-fade-top: 16px;
padding-top: var(--scroll-fade-top);
@@ -153,8 +151,6 @@ body.mobile .modal.popup-editor-dialog .popup-editor-scroll {
margin-block: 0;
}
-/* The scrolling column is fixed-height, and the mobile rule that lets the fields shrink (to give
- the editor room under the keyboard) collapses them to nothing on a note taller than the dialog. */
body.mobile #root-widget:not(.virtual-keyboard-opened) .modal.popup-editor-dialog .promoted-attributes-widget {
flex-shrink: 0;
}
@@ -208,7 +204,6 @@ 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;
}