mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix label padding of toggleButton
This commit is contained in:
parent
ae686bb15d
commit
a3a4fc0cc2
@ -48,7 +48,7 @@
|
|||||||
});
|
});
|
||||||
this.button = $('<button type="button" class="red-ui-toggleButton '+baseClass+' toggle single"></button>');
|
this.button = $('<button type="button" class="red-ui-toggleButton '+baseClass+' toggle single"></button>');
|
||||||
if (enabledLabel || disabledLabel) {
|
if (enabledLabel || disabledLabel) {
|
||||||
this.buttonLabel = $("<span>").appendTo(this.button);
|
this.buttonLabel = $("<span>").appendTo(this.button).css("margin-left", "5px");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.options.class) {
|
if (this.options.class) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user