lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
650 stars 356 forks source link

Broken print layout #387

Closed Sohn123 closed 1 year ago

Sohn123 commented 1 year ago

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):

Smartphone (please complete the following information):

Additional context

example_print.pdf

Sohn123 commented 1 year ago

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 commented 1 year ago

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