浏览代码

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/>.
linkmauve 7 年之前
父节点
当前提交
5693350883
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sass/_messages.scss

+ 1 - 0
sass/_messages.scss

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