Fill page when printing archived threads - Mailing list pgsql-www

From Paul A Jungwirth
Subject Fill page when printing archived threads
Date
Msg-id CA+renyXaMYGFKvyqt4ZpQFUu8A70VConiNSzPM=Pn_xKqeRDEw@mail.gmail.com
Whole thread Raw
Responses Re: Fill page when printing archived threads
List pgsql-www
Hello, www folks!

When printing some mailing list threads, I wind up with mostly blank
vertical space on the page. For example this one:
https://www.postgresql.org/message-id/flat/3c86a16f-4272-4df3-9959-70a9a7d88a71@ewie.name
(PDF attached).

The reason is the .message-content CSS rule sets the display:
inline-block property, and that causes the paragraphs to "stick
together" more tightly than to the header or the next message.
Changing the property to "block" makes the thread print much more
naturally (sample PDF attached, also a patch).

What do you think of this change?

Btw pgweb has the same CSS rule, although it doesn't appear to be used
by anything in that repo.

I haven't tested with a locally-running copy of the site. Are there
instructions anywhere on setting that up? I'm comfortable with Django,
but I would still need a database, possibly a settings file, etc.

Yours,

-- 
Paul              ~{:-)
pj@illuminatedcomputing.com

Attachment

pgsql-www by date:

Previous
From: Christoph Berg
Date:
Subject: Introduce contributor badges
Next
From: Andrey Borodin
Date:
Subject: Re: Introduce contributor badges