From: Jonathan S. Katz Date: Mon, 11 Jun 2018 18:36:12 +0000 (-0400) Subject: Preserve whitespace and newlines in messages in the archive. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=0edfe53e6690e21aa067e7e92c98d11b8c6e34e0;p=pgarchives.git Preserve whitespace and newlines in messages in the archive. This will help with readability of code segments and match what people see in their email clients. --- diff --git a/django/media/css/main.css b/django/media/css/main.css index 6221d90..c868120 100644 --- a/django/media/css/main.css +++ b/django/media/css/main.css @@ -768,9 +768,14 @@ h3.messages { .message-content { display: inline-block; font-family: monospace, monospace; - font-size: 0.8em; - line-height: 1.2em; + font-size: 0.7em; + line-height: 1em; margin: 0 auto; + white-space: pre-wrap; +} + +.message-content p { + margin-bottom: 0; } .message-responses {