fix height of textarea of SQL console

This commit is contained in:
zadam 2022-05-02 21:23:40 +02:00
parent 26e1ff4e16
commit a9dc62505d

View File

@ -149,7 +149,8 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
// https://github.com/zadam/trilium/issues/2522 // https://github.com/zadam/trilium/issues/2522
this.$widget.toggleClass("full-height", this.$widget.toggleClass("full-height",
!this.noteContext.hasNoteList() !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() { getTypeWidget() {