mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 11:24:28 -04:00
Fix line wrapping
This commit is contained in:
parent
61e94852bf
commit
c1ae4109a9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user