Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Added a flag --prefer-css-page-size which enables PreferCSSPageSize #160

Open
wants to merge 2 commits into
base: v3
Choose a base branch
from

Conversation

poison
Copy link
Contributor

@poison poison commented Jul 2, 2018

The new chromium API supports the PreferCSSPageSize flag, which let CSS determine the page size and margins. I had to upgrade chrome in order to make this work.

Any feedback is welcome!

@poison
Copy link
Contributor Author

poison commented Jul 23, 2018

I don't know why the travis build fails, but running this in production for 16 days now and it works like a charm!

@MrSaints
Copy link
Collaborator

Sorry for the lack of updates @poison ! And yeah, the CI is very flakey. I should look into it.

I greatly appreciate your PR, and I'll try my best to look into it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants