From eb3330d1454b257f7d1faad48f534fe4c783b89b Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 16 Jul 2021 09:44:56 +0100 Subject: [PATCH] Fix vertical sizing of function node edit dialog --- .../@node-red/nodes/core/function/10-function.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/node_modules/@node-red/nodes/core/function/10-function.html b/packages/node_modules/@node-red/nodes/core/function/10-function.html index ff343a0bd..4175f4448 100644 --- a/packages/node_modules/@node-red/nodes/core/function/10-function.html +++ b/packages/node_modules/@node-red/nodes/core/function/10-function.html @@ -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"); } }); })();