mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
remove padding before label text for SUBFLOW UI row
This commit is contained in:
parent
7c7be378bc
commit
11bce8c17c
@ -1381,7 +1381,8 @@ RED.subflow = (function() {
|
||||
}
|
||||
}
|
||||
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') {
|
||||
label.width('100%');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user