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:
parent
7913b3cbc2
commit
6e1466e411
@ -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> </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);
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user