Skip to content

Build your personal knowledge base with Trilium Notes

fix height of textarea of SQL console

zadama9dc62505d9c
diff --git a/src/public/app/widgets/note_detail.js b/src/public/app/widgets/note_detail.js
index dea6665150..a54fc4250f 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() {