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
1 changed files with 1 additions and 0 deletions

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);