From a9dc62505d9c3aff26aca259785e389eeebceec7 Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 2 May 2022 21:23:40 +0200 Subject: [PATCH] fix height of textarea of SQL console --- src/public/app/widgets/note_detail.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/note_detail.js b/src/public/app/widgets/note_detail.js index dea666515..a54fc4250 100644 --- a/src/public/app/widgets/note_detail.js +++ b/src/public/app/widgets/note_detail.js @@ -149,7 +149,8 @@ export default class NoteDetailWidget extends NoteContextAwareWidget { // https://github.com/zadam/trilium/issues/2522 this.$widget.toggleClass("full-height", !this.noteContext.hasNoteList() - && ['editable-text', 'editable-code'].includes(this.type)); + && ['editable-text', 'editable-code'].includes(this.type) + && this.mime !== 'text/x-sqlite;schema=trilium'); } getTypeWidget() {