mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
NLS Expression/JSON editor and fix their height calculation
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user