summaryrefslogtreecommitdiffstats
path: root/webapp/sass/layout/_post.scss
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-02-02 02:16:19 +0500
committerChristopher Speller <crspeller@gmail.com>2017-02-01 16:16:19 -0500
commitbaf4b9a453d4e722d6e949c95b4042a2e3c418e5 (patch)
treeed67698acdff1eb4cbb8b11fa4d8aa22f93be9a7 /webapp/sass/layout/_post.scss
parent36f43edba3481a19476943942bff1ab53cc14e0f (diff)
downloadchat-baf4b9a453d4e722d6e949c95b4042a2e3c418e5.tar.gz
chat-baf4b9a453d4e722d6e949c95b4042a2e3c418e5.tar.bz2
chat-baf4b9a453d4e722d6e949c95b4042a2e3c418e5.zip
PLT-5356 - Fixing margins for paragraphs (#5217)
* PLT-5356 - Fixing margins for paragraphs * Fixing conflict * Fixing font size for paragraphs
Diffstat (limited to 'webapp/sass/layout/_post.scss')
-rw-r--r--webapp/sass/layout/_post.scss18
1 files changed, 4 insertions, 14 deletions
diff --git a/webapp/sass/layout/_post.scss b/webapp/sass/layout/_post.scss
index 0f72a7f26..c24b77185 100644
--- a/webapp/sass/layout/_post.scss
+++ b/webapp/sass/layout/_post.scss
@@ -717,32 +717,22 @@
.post--edited {
p {
&:last-child {
- display: inline;
+ display: inline-block;
}
}
}
p {
- font-size: .97em;
+ font-size: 13.5px;
line-height: 1.6em;
margin: 0;
white-space: pre-wrap;
-
- &:last-child {
- margin-bottom: .5em;
- }
}
.post__header--info {
padding: 0;
}
- span {
- p:last-child {
- margin-bottom: .5em;
- }
- }
-
&.post--root {
.comment-icon__container {
visibility: visible;
@@ -1023,7 +1013,7 @@
}
p + p {
- margin: 1.2em 0;
+ margin: 1.2em 0 0;
&:last-of-type {
margin-bottom: 0;
@@ -1036,7 +1026,7 @@
ul,
ol {
- font-size: .97em;
+ font-size: 13.5px;
margin-bottom: .4em;
padding-left: 20px;