Preserve whitespace and newlines in messages in the archive.
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Mon, 11 Jun 2018 18:36:12 +0000 (14:36 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Mon, 11 Jun 2018 18:36:12 +0000 (14:36 -0400)
This will help with readability of code segments and match what
people see in their email clients.

django/media/css/main.css

index 6221d900c0a66e8de74a323f6d35b82cc9d5395f..c8681204f85b9700dbf25a6ca57e254547fc110f 100644 (file)
@@ -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 {