Skip to content

Build your personal knowledge base with Trilium Notes

feat(popup_editor): improve fit for full-height note types

Elian Doran278fe3262e82
diff --git a/apps/client/src/widgets/dialogs/popup_editor.ts b/apps/client/src/widgets/dialogs/popup_editor.ts
index 1489179cbf..833cc585fd 100644
--- a/apps/client/src/widgets/dialogs/popup_editor.ts
+++ b/apps/client/src/widgets/dialogs/popup_editor.ts
@@ -1,7 +1,6 @@
import type { EventNames, EventData } from "../../components/app_context.js";
import NoteContext from "../../components/note_context.js";
import { openDialog } from "../../services/dialog.js";
-import froca from "../../services/froca.js";
import BasicWidget from "../basic_widget.js";
import Container from "../containers/container.js";
@@ -13,13 +12,13 @@ const TPL = /*html*/`\
}
.modal.popup-editor-dialog .modal-body {
- padding: 0 1.5em;
- max-height: 75vh;
+ padding: 0;
+ height: 75vh;
overflow: scroll;
}
.modal.popup-editor-dialog .note-detail-editable-text {
- padding: 0;
+ padding: 0 1em;
}
.modal.popup-editor-dialog .title-row,