Skip to content

remove margin settings from PDF stylesheet and set initial zoom level… - #3157

Merged
raycarrick-ed merged 2 commits into
developmentfrom
patch-pdf-margin
Apr 14, 2022
Merged

remove margin settings from PDF stylesheet and set initial zoom level…#3157
raycarrick-ed merged 2 commits into
developmentfrom
patch-pdf-margin

Conversation

@briri

@briri briri commented Apr 13, 2022

Copy link
Copy Markdown
Contributor

The wkhtmltopdf package appears to have a 10mm default margin. Because of this we started sending margin info directly to the wicked_pdf gem. At this point we need to remove the margin info in the PDF stylesheet to ensure that the margins are accurate to the ones specified by the user when they download their plan.

This PR also includes a change to the initial zoom setting for a PDF.

@raycarrick-ed
raycarrick-ed merged commit a9dd293 into development Apr 14, 2022
@raycarrick-ed
raycarrick-ed deleted the patch-pdf-margin branch April 14, 2022 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants