about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authortrwnh <a@trwnh.com>2019-02-04 21:46:18 -0600
committerEugen Rochko <eugen@zeonfederated.com>2019-02-05 04:46:18 +0100
commit76d41475a89ebdd19b08b9e8a81e5e3c7dbd4001 (patch)
treeccacee4cfd2e40e0a74987a4b11e31e4f537cddf /app/javascript
parent2557cb2f9550f7ab0cd6e6f392642b5249589ed8 (diff)
[UI] Fix whitespace being applied to div instead of p (#9968)
* fix large line breaks

* fix ascii art posts
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/components.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 10e094648..32fd77385 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -638,7 +638,6 @@
   font-weight: 400;
   overflow: hidden;
   text-overflow: ellipsis;
-  white-space: pre-wrap;
   padding-top: 2px;
   color: $primary-text-color;
 
@@ -662,6 +661,7 @@
 
   p {
     margin-bottom: 20px;
+    white-space: pre-wrap;
 
     &:last-child {
       margin-bottom: 0;