So I have to print some Stack Overflow pages and bring them around. Just accept it.

Problem: while pages may look perfectly normal on the web, something recently broke the print layout... a huge whitespace block showed up on the right (normal, print). Tons of whitespace. This is on every site on the network (example) on a bunch of different screens (example).

Futzing with DevTools, the problem seems to be the following piece of css:

#mainbar, .mainbar {
    width: calc(100% - 300px - 24px);

Can someone check if this is the only issue and possibly fix this?

  • 2
    Print probably should not show the navigation sidebar, either, but that change looks like it would be a nice-to-have compared to at minimum getting rid of that huge space on the right. – doppelgreener Oct 18 '18 at 21:30
  • 1
    @Sonic - see this, not just a problem for printing questions... it's on a bunch of other pages as well. – eykanal Oct 18 '18 at 21:32
  • 1
    Just wanted to make it clear the question was on-topic, as we do get a lot of off-topic questions which others vote to close quickly without much thought. – Sonic the Introverted Hedgehog Oct 18 '18 at 21:33
  • 2
    Always recommended: Stack Printer – Bookends Oct 19 '18 at 9:00

You must log in to answer this question.

Browse other questions tagged .