Skip to content

Build your personal knowledge base with Trilium Notes

feat(popup_editor): properly support file note types

Elian Doran55bd6fb57df8
diff --git a/apps/client/src/widgets/dialogs/popup_editor.ts b/apps/client/src/widgets/dialogs/popup_editor.ts
index 60d0f19d98..252d4769e9 100644
--- a/apps/client/src/widgets/dialogs/popup_editor.ts
+++ b/apps/client/src/widgets/dialogs/popup_editor.ts
@@ -51,6 +51,14 @@ const TPL = /*html*/`\
background: var(--modal-background-color);
z-index: 1000;
}
+
+ .modal.popup-editor-dialog .note-detail {
+ height: 100%;
+ }
+
+ .modal.popup-editor-dialog .note-detail-file {
+ padding: 0;
+ }
</style>
<div class="modal-dialog modal-lg" role="document">