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

does not adjust for printing #15

Open
revansx opened this issue Sep 18, 2019 · 3 comments
Open

does not adjust for printing #15

revansx opened this issue Sep 18, 2019 · 3 comments

Comments

@revansx
Copy link

revansx commented Sep 18, 2019

Works great except when a user tries to print. Is there some CSS to add to Mediawiki:Print.css that would help?

@darenwelsh
Copy link
Contributor

Do you mean how the blocks get split between page breaks? I think this is a general problem for MediaWiki since we've also had issues with images and tables split across pages. You can try the CSS properties page-break-after, page-break-before, and page-break-inside. Maybe this could be built into the masonry blocks.

@revansx
Copy link
Author

revansx commented Sep 20, 2019

No. it's the width. When a user on a widescreen monitor goes to print, the print (typically portrait) only shows the left side of the screen. The right side is cropped off in the print preview/print. It can be fixed if the user prints in landscape and plays with the scale, but fundamentally, the blocks (which are intended to "re-arrange themselves" don't re-arrange themselves for the printed page. I was just wondering if there is something that can be done in Mediawiki:Print.css that might trigger the blocks to automatically re-arrange themselves for the printed page like they do for the screen page.

@darenwelsh
Copy link
Contributor

Do you have a screen capture you can share? When I preview the print in both portrait and landscape, it does not seem to have width issues.

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