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

fix width calculation of typedInput

This commit is contained in:
Hiroyasu Nishiyama 2019-05-31 22:20:54 +09:00
parent 22855279bd
commit cf8faac7ef

View File

@ -426,6 +426,7 @@
if (labelWidth === 0) { if (labelWidth === 0) {
var container = $('<div class="red-ui-typedInput-container"></div>').css({ var container = $('<div class="red-ui-typedInput-container"></div>').css({
position:"absolute", position:"absolute",
"white-space": "nowrap",
top:0 top:0
}).appendTo(document.body); }).appendTo(document.body);
var newTrigger = label.clone().appendTo(container); var newTrigger = label.clone().appendTo(container);