fix(gravatar): CSS fixes to gravatar

This commit is contained in:
Evan Morikawa 2015-09-25 11:32:42 -04:00
parent db0ce9e63e
commit fc83f3cfab
2 changed files with 3 additions and 2 deletions

View file

@ -90,7 +90,7 @@ class AccountSwitcher extends React.Component
hash = crypto.createHash('md5').update(email, 'utf8').digest('hex')
url = "url(http://www.gravatar.com/avatar/#{hash}?d=blank&s=56)"
<div style={float: 'left'}>
<div style={float: 'left', position: "relative"}>
<div className="gravatar" style={backgroundImage:url}></div>
<RetinaImg name={"ic-settings-account-#{account.provider}@2x.png"}
style={width: 28, height: 28, marginTop: -10}

View file

@ -136,8 +136,9 @@
height: 28px;
position: absolute;
z-index: 2;
border-radius: 7px;
border-radius: 4px;
top: -2px;
background-repeat: no-repeat;
}
}