Skip to content

Build your personal knowledge base with Trilium Notes

fix(quick-edit): keep promoted attributes visible

Elian Doranb09cb58ab721
diff --git a/apps/client/src/widgets/dialogs/PopupEditor.css b/apps/client/src/widgets/dialogs/PopupEditor.css
index a9179475ea..83b9a69cc3 100644
--- a/apps/client/src/widgets/dialogs/PopupEditor.css
+++ b/apps/client/src/widgets/dialogs/PopupEditor.css
@@ -138,6 +138,12 @@ body.mobile .modal.popup-editor-dialog .modal-dialog {
margin-block: 0;
}
+/* The body is a fixed-height column, 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;
+}
+
.modal.popup-editor-dialog .classic-toolbar-widget {
position: sticky;
margin-inline: 8px;