From 0a4979e31d17d261c4fb9b936389bdc5e3c15e12 Mon Sep 17 00:00:00 2001 From: "Jonathan S. Katz" Date: Mon, 11 Jun 2018 14:35:12 -0400 Subject: [PATCH] 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. --- media/css/main.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/media/css/main.css b/media/css/main.css index 6221d900..c8681204 100644 --- a/media/css/main.css +++ b/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 {