mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix height of textarea of SQL console
This commit is contained in:
parent
26e1ff4e16
commit
a9dc62505d
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user