Skip to content

Commit

Permalink
[UI] Fix whitespace being applied to div instead of p (mastodon#9968)
Browse files Browse the repository at this point in the history
* fix large line breaks

* fix ascii art posts
  • Loading branch information
trwnh authored and hiyuki2578 committed Oct 2, 2019
1 parent 3eb723c commit f03bf4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,6 @@
font-weight: 400;
overflow: hidden;
text-overflow: ellipsis;
white-space: pre-wrap;
padding-top: 2px;
color: $primary-text-color;

Expand All @@ -662,6 +661,7 @@

p {
margin-bottom: 20px;
white-space: pre-wrap;

&:last-child {
margin-bottom: 0;
Expand Down

0 comments on commit f03bf4b

Please sign in to comment.