NLS Expression/JSON editor and fix their height calculation

This commit is contained in:
Nick O'Leary
2017-05-03 17:17:36 +01:00
parent 30920b1b78
commit 2249b9449c
4 changed files with 13 additions and 7 deletions

View File

@@ -493,9 +493,9 @@ RED.editor = (function() {
var node = editStack[i];
var label = node.type;
if (node.type === '_expression') {
label = "Expression editor"; // TODO: nls
label = RED._("expressionEditor.title");
} else if (node.type === '_json') {
label = "JSON editor"; // TODO: nls
label = RED._("jsonEditor.title");
} else if (node.type === 'subflow') {
label = RED._("subflow.editSubflow",{name:node.name})
} else if (node.type.indexOf("subflow:")===0) {

View File

@@ -47,6 +47,7 @@
}
.editor-tray-body {
position: relative;
box-sizing: border-box;
form {
margin: 20px;
}
@@ -153,7 +154,7 @@
.dialog-form,#dialog-form, #dialog-config-form {
height: 100%;
height: calc(100% - 20px);
}
.input-error {