Keep multiple whitespace characters as is

Currently multiple consecutive spaces or tabs were being transformed into a single space, rendering some ASCII art unreadable.  This patch fixes it by giving each message text the CSS behaviour of <pre/>.
This commit is contained in:
linkmauve 2018-08-21 14:04:45 +01:00 committed by JC Brand
parent 9f8d30dde3
commit 5693350883

View File

@ -150,6 +150,7 @@
padding: 0; padding: 0;
color: $message-text-color; color: $message-text-color;
width: 100%; width: 100%;
white-space: pre-wrap;
a { a {
word-wrap: break-word; word-wrap: break-word;
word-break: break-all; word-break: break-all;