Skip to content

Build your personal knowledge base with Trilium Notes

fix(quick-edit): keep promoted attributes whole with the keyboard up

Elian Dorancc3ea30a2634
diff --git a/apps/client/src/widgets/PromotedAttributes.css b/apps/client/src/widgets/PromotedAttributes.css
index 142ea1a072..dee177491a 100644
--- a/apps/client/src/widgets/PromotedAttributes.css
+++ b/apps/client/src/widgets/PromotedAttributes.css
@@ -1,9 +1,3 @@
-body.mobile .promoted-attributes-widget {
- /* https://github.com/zadam/trilium/issues/4468 */
- flex-shrink: 0.4;
- overflow: auto;
-}
-
.component.promoted-attributes-widget {
contain: none;
}
@@ -12,7 +6,6 @@ body.mobile .promoted-attributes-widget {
flex cells, each one took an anonymous row of its own and the attributes stacked one per line. */
.promoted-attributes-container {
margin: 0 1.5em;
- overflow: auto;
display: flex;
flex-wrap: wrap;
}
diff --git a/apps/client/src/widgets/dialogs/PopupEditor.css b/apps/client/src/widgets/dialogs/PopupEditor.css
index dae4c4682a..a49d60188a 100644
--- a/apps/client/src/widgets/dialogs/PopupEditor.css
+++ b/apps/client/src/widgets/dialogs/PopupEditor.css
@@ -152,10 +152,6 @@ body.mobile .modal.popup-editor-dialog .popup-editor-scroll {
margin-block: 0;
}
-body.mobile #root-widget:not(.virtual-keyboard-opened) .modal.popup-editor-dialog .promoted-attributes-widget {
- flex-shrink: 0;
-}
-
body.desktop .modal.popup-editor-dialog .classic-toolbar-widget {
position: sticky;
margin-inline: 8px;