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

Broken print layout #387

Closed
Sohn123 opened this issue Oct 3, 2022 · 2 comments · Fixed by #391
Closed

Broken print layout #387

Sohn123 opened this issue Oct 3, 2022 · 2 comments · Fixed by #391
Assignees
Labels
bug Something isn't working

Comments

@Sohn123
Copy link
Contributor

Sohn123 commented Oct 3, 2022

Describe the bug
The print version of the pages look broken. The sidebar interferes with the content.

To Reproduce
Go to the home page and press ctrl+p and take a look at the layout.

Expected behavior
A concise print layout.

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux
  • Browser firefox,chrome
  • Version of the Theme latest master
  • Version of Hugo hugo v0.104.2+extended

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version of the Theme
  • Version of Hugo (run a hugo version if unsure)

Additional context

example_print.pdf

@Sohn123 Sohn123 added the bug Something isn't working label Oct 3, 2022
@Sohn123
Copy link
Contributor Author

Sohn123 commented Oct 12, 2022

I took a quick look today, and it seems like the root cause of the problem is that the desktop style gets partly applied to the print layout. By removing the mixedin desktop_and_print and just using desktop instead, the print layout appears to be fixed.

@lxndrblz
Copy link
Owner

@Sohn123 Can you send me a PR with your changes?

@lxndrblz lxndrblz linked a pull request Mar 26, 2023 that will close this issue
12 tasks
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

Successfully merging a pull request may close this issue.

2 participants