Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add margin-header and margin-footer configuration #93

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

Conversation

r12r
Copy link

@r12r r12r commented Jun 22, 2018

I added the margin-header and margin-footer variables.

From MPDF documentation:
margin-header = distance in mm from top of page to start of header
margin-footer = distance in mm from bottom of page to bottom of footer

@r12r
Copy link
Author

r12r commented Jun 22, 2018

I also fix a little bug. Now you can use 0 as margin value.

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

Successfully merging this pull request may close these issues.

1 participant