shelfio/chrome-aws-lambda-layer

Space before "From" field for pdf that was result of conversion from html that was converted from email file

LLDmitry opened this issue · 1 comments

We have a chain of conversion: msg to html (by GleamTech) ; html-to pdf (by chrome-aws-layer). Html is identical to msg, but in pdf we get empty space before the "From" field (the first row)

This layer just embeds the Chrome.

If you got some weird formatting problem, it will most likely be reproduced locally with Chrome on your laptop.

Most likely it's fixed by custom CSS overrides or some Chrome settings you can look up within puppeteer docs.