Skip to content

Build your personal knowledge base with Trilium Notes

feat(popup_editor): limit max height & reduce padding

Elian Doranaa2ab0da31ba
diff --git a/apps/client/src/widgets/dialogs/popup_editor.ts b/apps/client/src/widgets/dialogs/popup_editor.ts
index 6615b0a781..91da5088a9 100644
--- a/apps/client/src/widgets/dialogs/popup_editor.ts
+++ b/apps/client/src/widgets/dialogs/popup_editor.ts
@@ -13,7 +13,9 @@ const TPL = /*html*/`\
}
.modal.popup-editor-dialog .modal-body {
- padding: 0.5em 1.5em;
+ padding: 0 1.5em;
+ max-height: 75vh;
+ overflow: scroll;
}
.modal.popup-editor-dialog .note-detail-editable-text {