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

Tidy some subflow env props css

This commit is contained in:
Nick O'Leary 2020-08-28 16:35:47 +01:00 committed by Nick O'Leary
parent 7913b3cbc2
commit 6e1466e411
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
3 changed files with 9 additions and 0 deletions

View File

@ -993,6 +993,7 @@ RED.subflow = (function() {
icon: "", icon: "",
type: "cred" type: "cred"
} }
opt.ui.type = "cred";
} else { } else {
opt.ui = opt.ui || { opt.ui = opt.ui || {
icon: "", icon: "",
@ -1488,6 +1489,7 @@ RED.subflow = (function() {
var locale = RED.i18n.lang(); var locale = RED.i18n.lang();
var labelText = lookupLabel(labels, labels["en-US"]||tenv.name, locale); var labelText = lookupLabel(labels, labels["en-US"]||tenv.name, locale);
var label = $('<label>').appendTo(row); var label = $('<label>').appendTo(row);
$('<span>&nbsp;</span>').appendTo(row);
var labelContainer = $('<span></span>').appendTo(label); var labelContainer = $('<span></span>').appendTo(label);
if (ui.icon) { if (ui.icon) {
var newPath = RED.utils.separateIconPath(ui.icon); var newPath = RED.utils.separateIconPath(ui.icon);

View File

@ -765,6 +765,10 @@ button.red-ui-toggleButton.toggle {
width: calc(100% - 10px); width: calc(100% - 10px);
padding-left: 3px; padding-left: 3px;
} }
select {
padding: 0 3px;
font-size: 11px;
}
.placeholder-input { .placeholder-input {
span:first-child { span:first-child {
display:inline-block; display:inline-block;

View File

@ -139,6 +139,9 @@
stroke-width: 2; stroke-width: 2;
} }
.red-ui-flow-node-icon-group { .red-ui-flow-node-icon-group {
text {
@include disable-selection;
}
.fa-lg { .fa-lg {
@include disable-selection; @include disable-selection;
stroke: none; stroke: none;