Stop list items from overflowing to new lines in node ui

Fixes #1408
This commit is contained in:
Nick O'Leary
2018-01-25 14:02:04 +00:00
parent 2cea3b6435
commit 22a5b339f7
3 changed files with 14 additions and 4 deletions

View File

@@ -248,11 +248,14 @@ msg.cookies = {
function resizeRule(rule) {
var newWidth = rule.width();
rule.find('.red-ui-typedInput').typedInput("width",(newWidth-15)/2);
}
var headerList = $("#node-input-headers-container").css('min-height','150px').css('min-width','450px').editableList({
addItem: function(container,i,header) {
var row = $('<div/>').appendTo(container);
var row = $('<div/>').css({
overflow: 'hidden',
whiteSpace: 'nowrap'
}).appendTo(container);
var propertyName = $('<input/>',{class:"node-input-header-name",type:"text"})
.appendTo(row)
.typedInput({types:headerTypes});