summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_profile.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-07-17 01:30:30 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-07-17 01:30:30 +0500
commit43368061d5bfd433c8bbb71fba5da45faf8119d9 (patch)
treea222d8444bb7d2e6874d11815afe222a0ae4def7 /web/react/components/user_profile.jsx
parent4942b8a405fec10c8ccfae4ec946aebdaf9d415f (diff)
downloadchat-43368061d5bfd433c8bbb71fba5da45faf8119d9.tar.gz
chat-43368061d5bfd433c8bbb71fba5da45faf8119d9.tar.bz2
chat-43368061d5bfd433c8bbb71fba5da45faf8119d9.zip
MM-1401 - Removing most inline styles and other UI changes
Diffstat (limited to 'web/react/components/user_profile.jsx')
-rw-r--r--web/react/components/user_profile.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/user_profile.jsx b/web/react/components/user_profile.jsx
index 89d0a80ff..65f025919 100644
--- a/web/react/components/user_profile.jsx
+++ b/web/react/components/user_profile.jsx
@@ -53,7 +53,7 @@ module.exports = React.createClass({
var name = this.props.overwriteName ? this.props.overwriteName : this.state.profile.username;
- var data_content = "<img style='margin: 10px' src='/api/v1/users/" + this.state.profile.id + "/image?time=" + this.state.profile.update_at + "' height='128' width='128' />";
+ var data_content = "<img class='user-popover__image' src='/api/v1/users/" + this.state.profile.id + "/image?time=" + this.state.profile.update_at + "' height='128' width='128' />";
if (!config.ShowEmail) {
data_content += "<div class='text-nowrap'>Email not shared</div>";
} else {
@@ -61,7 +61,7 @@ module.exports = React.createClass({
}
return (
- <div style={{"cursor" : "pointer", "display" : "inline-block"}} className="user-popover" id={"profile_" + this.uniqueId} data-toggle="popover" data-content={data_content} data-original-title={this.state.profile.username} >
+ <div className="user-popover" id={"profile_" + this.uniqueId} data-toggle="popover" data-content={data_content} data-original-title={this.state.profile.username} >
{ name }
</div>
);