Jelajahi Sumber

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 6 tahun lalu
induk
melakukan
5693350883
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      sass/_messages.scss

+ 1 - 0
sass/_messages.scss

@@ -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;