mirror of https://github.com/node-red/node-red.git
Fix vertical sizing of function node edit dialog
parent
5ba0588c7b
commit
eb3330d145
|
@ -594,15 +594,15 @@
|
|||
$("#dialog-form .node-text-editor").css("height",height+"px");
|
||||
|
||||
var height = size.height;
|
||||
$("#node-input-init-editor").css("height", (height -45-48)+"px");
|
||||
$("#node-input-func-editor").css("height", (height -45-48)+"px");
|
||||
$("#node-input-finalize-editor").css("height", (height -45-48)+"px");
|
||||
$("#node-input-init-editor").css("height", (height - 83)+"px");
|
||||
$("#node-input-func-editor").css("height", (height - 83)+"px");
|
||||
$("#node-input-finalize-editor").css("height", (height - 83)+"px");
|
||||
|
||||
this.initEditor.resize();
|
||||
this.editor.resize();
|
||||
this.finalizeEditor.resize();
|
||||
|
||||
$("#node-input-libs-container").css("height", (height - 185)+"px");
|
||||
$("#node-input-libs-container").css("height", (height - 192)+"px");
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue