diff --git a/app/views/public/about_us.blade.php b/app/views/public/about_us.blade.php index 832ad1b8f8b9..90dd4a6b2740 100644 --- a/app/views/public/about_us.blade.php +++ b/app/views/public/about_us.blade.php @@ -67,7 +67,7 @@

Designer

Razi is a pixel nerd with a great deal of experience in design for web sites and applications. When she isn't busy with InvoiceNinja she runs a small web agency in Stockholm called kantorp-wegl.in

Twitter - LinkedIn + LinkedIn Twitter

kantorp-wegl.in

@@ -79,8 +79,8 @@

A veteran digital marketer and content strategist, Ben specializes in building communities around brands that make business easier for freelancers, SMBs and micro-entrepreneurs.

Twitter - LinkedIn - about.me + LinkedIn + about.me

actionpackedmedia.com

diff --git a/public/js/script.js b/public/js/script.js index acd97504249d..b6c53cccb33a 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -1263,8 +1263,10 @@ function displayAccount(doc, invoice, x, y, layout) { account.country ? account.country.name : false ]; - var width = doc.getStringUnitWidth(account.name) * doc.internal.getFontSize() * 1.1; - width = Math.max(120, width); + var nameWidth = doc.getStringUnitWidth(account.name) * doc.internal.getFontSize() * 1.1; + var emailWidth = doc.getStringUnitWidth(account.work_email) * doc.internal.getFontSize() * 1.1; + width = Math.max(emailWidth, nameWidth, 120); + x += width; displayGrid(doc, invoice, data, x, y, layout);