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

There's no margin support for pdf #104

Open
Abutahir12 opened this issue Dec 5, 2022 · 1 comment
Open

There's no margin support for pdf #104

Abutahir12 opened this issue Dec 5, 2022 · 1 comment

Comments

@Abutahir12
Copy link

Abutahir12 commented Dec 5, 2022

In the landscape mode, I was able to adjust the "mm" according to my needs, but no matter what try, the space on the top is fixed, it increases but it's not decreasing by certain pixels
`format: "A4",
orientation: "landscape",

border: {
    left: "5mm",
    right: "5mm",
    top: "0mm",
    bottom: "5mm",
},

height: "122mm",
width: "180mm"

these are the options that I have been trying, as you can see I have kept the top to 0mm, but it doesn't work at all, the content of the pdf is situated around 1.5 inch from the top edge, it's not decreasing. however it's increasing.

@chaitu2chowdary
Copy link

+1

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

No branches or pull requests

2 participants