Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Margins between pages when printing #52

Closed
fredula opened this issue May 3, 2016 · 1 comment
Closed

Margins between pages when printing #52

fredula opened this issue May 3, 2016 · 1 comment

Comments

@fredula
Copy link

fredula commented May 3, 2016

Hi guys,

This is a brilliant library. I'm currently using it create a layout for a data feed from an api.
It all works quite well. The problem I'm currently facing is when printing. The column flow pages do not stay at the top of the printed pages. The pages either move up or down dependant on the width of the viewport that's set. I've added red borders to the pages to highlight the issue:

One of the first pages:
pg1

Pages further down:
pg2

And the pages move further and further up.

Hopefully someone will be able to guide me in the right direction.
Thank you.

@fredula
Copy link
Author

fredula commented May 13, 2016

After some more research, I found this to be a margin issue mostly.

I amended my css and switched the printer dialogue settings to no margins and it works flawlessly. I also had to amend the top css property of the pages, so that they'd stay put in a containing div.

Once again great library.

@fredula fredula closed this as completed Oct 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant