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

Merge pull request #2190 from node-red-hitachi/fix-typedinput-appearance

Fix typedinput width calculation
This commit is contained in:
Nick O'Leary 2019-06-04 20:56:30 +01:00 committed by GitHub
commit 5965bf3332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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