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

Fix for webpdf print margins #1907

Merged
merged 4 commits into from
Nov 11, 2022
Merged

Fix for webpdf print margins #1907

merged 4 commits into from
Nov 11, 2022

Conversation

JWock82
Copy link
Contributor

@JWock82 JWock82 commented Nov 9, 2022

This is a fix for the webpdf print margins. It adds 0.5 inch margins to each printed page. This fixes Issue #1660

JWock82 and others added 4 commits November 9, 2022 13:27
When converting to webpdf the margins on the resulting printout are tiny. After a page break there are no margins at all. This code fixes that by placing a 0.5 inch margin on all sides of the printed page. This fixes issue jupyter#1660.
The margin for the top of the first page was being set twice. Removed the redundant portion.
Fix for webpdf print margins
@blink1073 blink1073 added the bug label Nov 11, 2022
Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@blink1073
Copy link
Contributor

I'll make a release early next week.

@blink1073 blink1073 merged commit 34b81cd into jupyter:main Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants