summaryrefslogtreecommitdiffstats
path: root/webapp/components/user_profile.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-07-10 23:48:45 +0500
committerSaturnino Abril <saturnino.abril@gmail.com>2017-07-11 02:48:45 +0800
commit87e62e8823e0894afab93326b0e1db2e12c53848 (patch)
tree345c4d54fd2f960cd2f2501afef27739802a62cf /webapp/components/user_profile.jsx
parent45e7ad0c3428b4a050fedb354048f8a66aedf2a0 (diff)
downloadchat-87e62e8823e0894afab93326b0e1db2e12c53848.tar.gz
chat-87e62e8823e0894afab93326b0e1db2e12c53848.tar.bz2
chat-87e62e8823e0894afab93326b0e1db2e12c53848.zip
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
Diffstat (limited to 'webapp/components/user_profile.jsx')
-rw-r--r--webapp/components/user_profile.jsx6
1 files changed, 1 insertions, 5 deletions
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 {
<OverlayTrigger
ref='overlay'
trigger='click'
- placement={popoverPosition}
+ placement='right'
rootClose={true}
overlay={
<ProfilePopover