From 8240a208dda7d9f260b3f214bad30488218bd1b6 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 14 Jan 2022 21:05:39 +0100 Subject: [PATCH] fixed wrong cherry pick --- src/public/app/widgets/note_detail.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/public/app/widgets/note_detail.js b/src/public/app/widgets/note_detail.js index 77fd1919f..09cb2a925 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() {