From d14a44cf98ad746e3067aa425144602bc27cfb0a Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Tue, 18 Oct 2016 20:55:59 +0500 Subject: Multiple UI Improvements (#4253) Reverting config Reverting config.json --- webapp/components/post_view/components/post.jsx | 13 ++++++-- webapp/components/select_team/select_team.jsx | 2 +- webapp/sass/components/_popover.scss | 2 ++ webapp/sass/layout/_post.scss | 11 +++++-- webapp/sass/responsive/_mobile.scss | 41 ++++++++++++++++++++----- 5 files changed, 56 insertions(+), 13 deletions(-) (limited to 'webapp') diff --git a/webapp/components/post_view/components/post.jsx b/webapp/components/post_view/components/post.jsx index 7eeffb039..6a5994469 100644 --- a/webapp/components/post_view/components/post.jsx +++ b/webapp/components/post_view/components/post.jsx @@ -199,6 +199,16 @@ export default class Post extends React.Component { /> ); + if (this.props.compactDisplay) { + profilePic = ( + + ); + } + if (PostUtils.isSystemMessage(post)) { profilePic = ( {profilePic}); + const profilePicContainer = (
{profilePic}
); if (this.props.compactDisplay) { compactClass = 'post--compact'; - profilePicContainer = ''; } let dropdownOpenedClass = ''; diff --git a/webapp/components/select_team/select_team.jsx b/webapp/components/select_team/select_team.jsx index e6156ecb9..5f8d9f463 100644 --- a/webapp/components/select_team/select_team.jsx +++ b/webapp/components/select_team/select_team.jsx @@ -193,7 +193,7 @@ export default class SelectTeam extends React.Component { let adminConsoleLink; if (isSystemAdmin) { adminConsoleLink = ( -
+