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

Fix label padding of toggleButton

This commit is contained in:
Nick O'Leary 2021-06-14 09:26:16 +01:00
parent ae686bb15d
commit a3a4fc0cc2
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -48,7 +48,7 @@
});
this.button = $('<button type="button" class="red-ui-toggleButton '+baseClass+' toggle single"></button>');
if (enabledLabel || disabledLabel) {
this.buttonLabel = $("<span>").appendTo(this.button);
this.buttonLabel = $("<span>").appendTo(this.button).css("margin-left", "5px");
}
if (this.options.class) {