Skip to content

Printing formats wrong with navbar open #2234

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

Closed
ehayes2000 opened this issue Nov 9, 2023 · 1 comment
Closed

Printing formats wrong with navbar open #2234

ehayes2000 opened this issue Nov 9, 2023 · 1 comment
Labels
C-bug Category: A bug, incorrect or unintended behavior

Comments

@ehayes2000
Copy link

Problem

When I am serving an mdbook with mdbook serve and I print to pdf the formatting is incorrect and pushes the content off the page to the right if the navbar is open.

Steps

  1. Generate some dummy content with at least 2 chapters
  2. Use mdbook serve to view book
  3. Ensure that the navbar on the left is toggled on using the hamburger icon
  4. Click the print button in the upper right
  5. The formatting of the printed page is wrong

Possible Solution(s)

Easy fix:
Toggle off the navbar when the user clicks the print button.

Notes

No response

Version

mdbook v0.4.35
@ehayes2000 ehayes2000 added the C-bug Category: A bug, incorrect or unintended behavior label Nov 9, 2023
@ehuss
Copy link
Contributor

ehuss commented Nov 10, 2023

Thanks for the report! I'm going to close as a duplicate of #1932. I'm guessing you might be using Firefox. If you are using a different browser, can you please post in that other issue which browser you are using?

@ehuss ehuss closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: A bug, incorrect or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants