From 87e62e8823e0894afab93326b0e1db2e12c53848 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 10 Jul 2017 23:48:45 +0500 Subject: Minor UI fixes for 4.0 (#6899) * PLT-7056 - Fixing profile popover position * PLT-7082 - Removing extra space below header * PLT-7074 - Channel header fix * PLT-7054 - Fixing scroll inside members popover * Updating mention highlight color for default theme --- webapp/components/user_profile.jsx | 6 +----- webapp/sass/components/_popover.scss | 1 + webapp/sass/layout/_headers.scss | 10 +++++----- webapp/sass/responsive/_mobile.scss | 10 +++++++--- webapp/sass/responsive/_tablet.scss | 16 ++++++++-------- webapp/utils/constants.jsx | 2 +- 6 files changed, 23 insertions(+), 22 deletions(-) (limited to 'webapp') diff --git a/webapp/components/user_profile.jsx b/webapp/components/user_profile.jsx index 22d6b6b77..1cd2ef637 100644 --- a/webapp/components/user_profile.jsx +++ b/webapp/components/user_profile.jsx @@ -56,10 +56,6 @@ export default class UserProfile extends React.Component { render() { let name = '...'; let profileImg = ''; - let popoverPosition = 'right'; - if (Utils.isMobile()) { - popoverPosition = 'bottom'; - } if (this.props.user) { name = Utils.displayUsername(this.props.user.id); @@ -78,7 +74,7 @@ export default class UserProfile extends React.Component {