Closed PlinioMayer closed 4 years ago
Hey thanks for appreciating my work!
I tried replicating what you did from your example, Here is my code:
and here is the result, I can't seem to replicate your issue.
But when I added margin-left
on the element, it seems to have that white space on the left like from your screenshot, so there could be margin on one of your elements I presume? could you give me a sample your styling? ill try it on my end.
Feel free to open this if the issue persist!
i have same issue here,
I had a similiar issue here but in portrait mode. I checked my elements and none of them seems to have a margin left (of course that I can be wrong). But this is my code:
And this is the result:
I fixed it by appying a margin-left: -10px in the inner section component. I'm using vue 2. btw thanks for this repo!
First of all I would like to thank you for your software, it actually saved me in my work. I had a great time generating pdf's in portrait mode, no problems. But when I try to generate in landscape, the layout preview looks fine, but the generated pdf comes with a padding left that I can't get rid off
`<vue-html2pdf :show-layout="true" :enable-download="true" :preview-modal="true" :paginate-elements-by-height="3000" filename="file" :pdf-quality="2" pdf-format="a4" pdf-orientation="landscape" pdf-content-width="1123px" @hasGenerated="$emit('generated', $event)"
The layout I'm passing is just a section with width 100% and height 794px aligning some text. Some images:
Layout:
Preview: