diff --git a/nodes/blind-control.html b/nodes/blind-control.html index 088d3d9..33c5418 100644 --- a/nodes/blind-control.html +++ b/nodes/blind-control.html @@ -1723,13 +1723,13 @@ $oversteerCompare.val(data.operator || 'gte'); // row2 - Thersold - addLabel($row2, 'node-input-oversteer-compare', 'fa fa-cloud', node._('blind-control.label.oversteerThreshold')); + addLabel($row2, 'node-input-oversteer-compare', 'fa fa-cloud', node._('blind-control.label.oversteerThreshold'), '95px'); const $oversteerThreshold = $('', { class: 'node-input-oversteer-threshold', type: 'text' }) - .css('width', 'calc(100% - 160px)') + .css('width', 'calc(100% - 162px)') .appendTo($row2) .typedInput({ default: 'num', @@ -1766,7 +1766,7 @@ class: 'node-input-oversteer-blindPos', type: 'text' }) - .css('width', 'calc(100% - 145px)') + .css('width', 'calc(100% - 147px)') .appendTo($row3) .typedInput({ default: types.LevelFix, @@ -1779,7 +1779,7 @@ class: 'node-input-oversteer-slatPos', type: 'text' }) - .css('width', 'calc(100% - 145px)') + .css('width', 'calc(100% - 147px)') .appendTo($row4) .typedInput({ default: 'num', diff --git a/nodes/static/htmlglobal.js b/nodes/static/htmlglobal.js index 7369927..0ef0bd4 100644 --- a/nodes/static/htmlglobal.js +++ b/nodes/static/htmlglobal.js @@ -997,7 +997,7 @@ function addLabel(parent, forEl, symb, text, width) { // eslint-disable-line no- lbl.append(span); // lbl.attr('style', 'margin-left: 5px; width:' + 20 + span.width() + 'px;'); width = width || 'auto'; - lbl.attr('style', 'margin-left: 5px; margin-right: 5px; width:' + width + ';'); + lbl.attr('style', 'margin-left: 5px; margin-right: 2px; width:' + width + ';'); } else { width = width || '20px'; lbl.attr('style', 'margin-left: 5px; margin-right: 2px; width:' + width + ';');