Fill page when printing archived threads

Поиск
Список
Период
Сортировка
От Paul A Jungwirth
Тема Fill page when printing archived threads
Дата
Msg-id CA+renyXaMYGFKvyqt4ZpQFUu8A70VConiNSzPM=Pn_xKqeRDEw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Fill page when printing archived threads
Список 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

Вложения

В списке pgsql-www по дате отправления: