Fix line wrapping

This commit is contained in:
Hillel Coren 2017-12-29 10:47:26 +02:00
parent 61e94852bf
commit c1ae4109a9
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1296,7 +1296,7 @@ NINJA.processItem = function(item, section) {
item.style.push(section);
// make sure numbers aren't wrapped
if (item.text && item.text.match && item.text.match(/\d[.,]\d\d($| [A-Z]{3}$)/)) {
if (item.text && item.length && item.length < 20 && item.text.match && item.text.match(/\d[.,]\d\d($| [A-Z]{3}$)/)) {
item.style.push('noWrap');
}