Misaligned Docs by Email


I was wondering as to why whenever we send Sales Quotes by email using ERPNext, it seems to mess up the alignments. See screenshot here:

However when we go and just download the PDF, the Total are properly aligned on the right side.

Any thoughts?

Hi guys, please let me know if I haven’t explained myself well.

Maybe your CSS is not loaded correctly

Try adding host_name in your site_config.json in your site folder with your full hostname, like

  "db_name": ...
  "host_name": "http://localhost:8000"

Hi rmehta,

Thank you for getting back. We tried adding the host name and its still the same. Again, when we generate through the UI and download the PDF, it’s okay. But when we use the UI to automatically send and attach quote, it’s messed up like this.