Skip to content

Build your personal knowledge base with Trilium Notes

fixed wrong cherry pick

zadam8240a208dda7
diff --git a/src/public/app/widgets/note_detail.js b/src/public/app/widgets/note_detail.js
index 77fd1919f9..09cb2a9257 100644
--- a/src/public/app/widgets/note_detail.js
+++ b/src/public/app/widgets/note_detail.js
@@ -137,15 +137,6 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
this.child(typeWidget);
}
-
- this.checkFullHeight();
- }
-
- checkFullHeight() {
- // https://github.com/zadam/trilium/issues/2522
- this.$widget.toggleClass("full-height",
- !this.noteContext.hasNoteList()
- && ['editable-text', 'editable-code'].includes(this.type));
}
getTypeWidget() {