mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 17:04:45 -04:00
Fix line wrapping
This commit is contained in:
parent
39f206245c
commit
ec4490450c
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…
x
Reference in New Issue
Block a user