From 6a3e742e9b52ab82e192085c648782aa52195bea Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Thu, 9 Jun 2016 20:08:14 +0500 Subject: [PATCH] Fixing attachment in RHS root post for compact view (#3289) * Fixing attachment in RHS root post for compact view * Improving spacing for mentions --- webapp/components/rhs_root_post.jsx | 1 + webapp/sass/components/_mentions.scss | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx index 8996381bae..ff64520354 100644 --- a/webapp/components/rhs_root_post.jsx +++ b/webapp/components/rhs_root_post.jsx @@ -175,6 +175,7 @@ export default class RhsRootPost extends React.Component { filenames={post.filenames} channelId={post.channel_id} userId={post.user_id} + compactDisplay={this.props.compactDisplay} /> ); } diff --git a/webapp/sass/components/_mentions.scss b/webapp/sass/components/_mentions.scss index 9e47e2a713..82f626eafe 100644 --- a/webapp/sass/components/_mentions.scss +++ b/webapp/sass/components/_mentions.scss @@ -13,10 +13,10 @@ @include clearfix; cursor: pointer; font-size: 13px; - height: 36px; - line-height: 36px; - margin: 5px 0; - padding: 2px; + height: 39px; + line-height: 35px; + margin: 0; + padding: 3px 8px; position: relative; white-space: nowrap; width: 100%;