Fix line wrapping
This commit is contained in:
parent
39f206245c
commit
ec4490450c
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
|
|
@ -1371,7 +1371,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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue