openSUSE / wiki

openSUSE Wiki
http://en.opensuse.org
25 stars 17 forks source link

print layout is broken #40

Closed cboltz closed 5 years ago

cboltz commented 5 years ago

I just tried to print a wiki page (to a PDF), and the result is not really useable:

A screenshot of the "printed" PDF probably explains it best: Screenshot_20190414_224954

That's what Firefox 66 produces.

Chromium is doing better (it doesn't cut off the content after the first page), but still has the superfluous left column.

Ideally,

guoyunhe commented 5 years ago

Indeed a problem. Usually a wiki theme will ship a print.css which will only be loaded when printing. I will work on this feature recently. Should be easy, just remove some navigation element and reduce light gray and low contrast elements (usually terrible in printed paper).

cboltz commented 5 years ago

This is fixed with the latest pull requests - thanks!

I just deployed the updated code to all wikis.