mirror of https://github.com/node-red/node-red.git
remove padding before label text for SUBFLOW UI row
parent
7c7be378bc
commit
11bce8c17c
|
@ -1381,7 +1381,8 @@ RED.subflow = (function() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ui.type !== "checkbox") {
|
if (ui.type !== "checkbox") {
|
||||||
$('<span>').css({"padding-left":"5px"}).text(labelText).appendTo(label);
|
var css = ui.icon ? {"padding-left":"5px"} : {};
|
||||||
|
$('<span>').css(css).text(labelText).appendTo(label);
|
||||||
if (ui.type === 'none') {
|
if (ui.type === 'none') {
|
||||||
label.width('100%');
|
label.width('100%');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue