mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-07 13:14:47 +08:00
fix(gravatar): CSS fixes to gravatar
This commit is contained in:
parent
db0ce9e63e
commit
fc83f3cfab
2 changed files with 3 additions and 2 deletions
|
@ -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}
|
||||
|
|
|
@ -136,8 +136,9 @@
|
|||
height: 28px;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
border-radius: 7px;
|
||||
border-radius: 4px;
|
||||
top: -2px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue