coletiv / puppeteer-pdf

PDF generation wrapper for Elixir using Puppeteer
MIT License
97 stars 18 forks source link

Header/footer print_background does not seem to work #36

Closed benonymus closed 3 years ago

benonymus commented 3 years ago

Hey there,

Thanks for the great library!

It seems like the print_background option according to this: https://github.com/puppeteer/puppeteer/issues/2182 should also make the background colors work for the header/footer, but it does not seem to be the case. It does work for the content.

Do you have any tips regarding this?

benonymus commented 3 years ago

Needed this: -webkit-print-color-adjust: exact But now it goes all around the page, but that is probably something else