1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix vertical sizing of function node edit dialog

This commit is contained in:
Nick O'Leary 2021-07-16 09:44:56 +01:00
parent 5ba0588c7b
commit eb3330d145
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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");
}
});
})();