浏览代码

fix new line issue

Carsten Porth 6 年之前
父节点
当前提交
37109b8785
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/src/components/tweet-body/tweet-body.scss

+ 3 - 0
app/src/components/tweet-body/tweet-body.scss

@@ -5,4 +5,7 @@ tweet-body {
     border-radius: 3px;
     border: 1px solid #dfdfdf;
   }
+  p {
+    white-space: pre-wrap;
+  }
 }