fixed wrong cherry pick

This commit is contained in:
zadam 2022-01-14 21:05:39 +01:00
parent 1c34f73f61
commit 8240a208dd

View File

@ -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() {