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

Content is cut off when printing (pymdownx.details enabled) #44

Closed
unnamedcrewman opened this issue Mar 26, 2021 · 3 comments
Closed

Content is cut off when printing (pymdownx.details enabled) #44

unnamedcrewman opened this issue Mar 26, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@unnamedcrewman
Copy link

I'm using the PyMardkown extensions with the MKDocs Material theme and the print-site plugin. I've discovered that when I enable the pymdownx.details extension, the print formatting gets messed up and truncated on the left side (see screenshot below).

I don't have the chops to quite track down how the extension changes the styling(?) or if it is related to a browser issue. I've only tried it with Chrome based browsers (Edge, Brave, Chrome). The PyMdown website notes that there may be browser issues and gives some code for a potential fix. I've tried using the code via extra css and extra javascript, but it doesn't seem to solve the issue.

This isn't a deal-breaker for me, but I just thought I'd post hit here in case others have similar trouble.

Screenshot 2021-03-26 105504

@timvink
Copy link
Owner

timvink commented Mar 26, 2021

Thanks for reporting ! I'll look into it next time I make an iteration on this plugin :)

@timvink timvink added the bug Something isn't working label Mar 26, 2021
@timvink
Copy link
Owner

timvink commented May 10, 2021

So I checked, and this issue is specific mkdocs-material v7. Opened squidfunk/mkdocs-material#2655

@timvink
Copy link
Owner

timvink commented May 19, 2021

Fix is now available thanks to squidfunk. Simply pip install --upgrade mkdocs-print-site-plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants