diff options
author | Asaad Mahmood <asaadmahmoodspin@users.noreply.github.com> | 2016-06-09 20:08:14 +0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-06-09 11:08:14 -0400 |
commit | 6a3e742e9b52ab82e192085c648782aa52195bea (patch) | |
tree | d231fe2b883e0800f02b22790161f6d455f5eb82 /webapp | |
parent | 99dd271c06719de67b711329bc45c820504e0b2b (diff) | |
download | chat-6a3e742e9b52ab82e192085c648782aa52195bea.tar.gz chat-6a3e742e9b52ab82e192085c648782aa52195bea.tar.bz2 chat-6a3e742e9b52ab82e192085c648782aa52195bea.zip |
Fixing attachment in RHS root post for compact view (#3289)
* Fixing attachment in RHS root post for compact view
* Improving spacing for mentions
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/rhs_root_post.jsx | 1 | ||||
-rw-r--r-- | 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 8996381ba..ff6452035 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 9e47e2a71..82f626eaf 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%; |