]> cat aescling's git repositories - mastodon.git/commitdiff
[UI] Fix whitespace being applied to div instead of p (#9968)
authortrwnh <a@trwnh.com>
Tue, 5 Feb 2019 03:46:18 +0000 (21:46 -0600)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 5 Feb 2019 03:46:18 +0000 (04:46 +0100)
* fix large line breaks

* fix ascii art posts

app/javascript/styles/mastodon/components.scss

index 10e094648197e6ef05b9483934d717e439ef729e..32fd773859e7581d691b01898a0e18bc155848a3 100644 (file)
   font-weight: 400;
   overflow: hidden;
   text-overflow: ellipsis;
-  white-space: pre-wrap;
   padding-top: 2px;
   color: $primary-text-color;
 
 
   p {
     margin-bottom: 20px;
+    white-space: pre-wrap;
 
     &:last-child {
       margin-bottom: 0;