From: trwnh Date: Tue, 5 Feb 2019 03:46:18 +0000 (-0600) Subject: [UI] Fix whitespace being applied to div instead of p (#9968) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=76d41475a89ebdd19b08b9e8a81e5e3c7dbd4001;p=mastodon.git [UI] Fix whitespace being applied to div instead of p (#9968) * fix large line breaks * fix ascii art posts --- 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;