From 84dc60a640bbfb3b670a65f1c9ea6ce35ad1b5cc Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 27 Mar 2017 18:16:08 +0500 Subject: PLT-5868 - Redesigning compact view (#5821) * PLT-5868 - Redesigning compact view * Improvements to compact view * Updating compact view * Updating webhook styles --- webapp/sass/layout/_post.scss | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) (limited to 'webapp/sass/layout/_post.scss') diff --git a/webapp/sass/layout/_post.scss b/webapp/sass/layout/_post.scss index 892eea860..85f5b2a5a 100644 --- a/webapp/sass/layout/_post.scss +++ b/webapp/sass/layout/_post.scss @@ -677,6 +677,18 @@ .status { visibility: hidden; } + + > div { + margin-bottom: 0; + } + } + + &.same--root { + &.same--user { + .post__header { + height: 0; + } + } } .post__img { @@ -728,19 +740,20 @@ } .markdown__heading { - clear: both; - margin: 7px 0; + font-size: 1em; + margin: 0; } .post__header { height: 22px; + margin-bottom: 0; } .post__body { background: transparent !important; - line-height: 1.6; + line-height: 1.5; margin-top: -1px; - padding: 3px 0; + padding: 3px 0 0; .img-div { max-height: 150px; @@ -761,6 +774,14 @@ clear: both; padding-left: 20px; } + + div { + margin-bottom: 0; + } + + .post-image__column { + margin: 3px 0; + } } .post-image__column { @@ -853,6 +874,7 @@ line-height: 1.6em; margin: 0; white-space: pre-wrap; + width: 100%; word-break: break-word; } -- cgit v1.2.3-1-g7c22