mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
Load higher quality gravatar (#957)
This commit is contained in:
parent
3113ae4651
commit
0c18b5161a
@ -8,7 +8,7 @@ export const addGravatarUrlToResource = (resource) => {
|
||||
const { email } = resource;
|
||||
|
||||
const emailHash = md5(email.toLowerCase());
|
||||
const gravatarURL = `https://www.gravatar.com/avatar/${emailHash}?d=blank`;
|
||||
const gravatarURL = `https://www.gravatar.com/avatar/${emailHash}?d=blank&size=200`;
|
||||
|
||||
return {
|
||||
...resource,
|
||||
|
@ -30,10 +30,10 @@
|
||||
line-height: 40px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-top: -10px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
text-decoration: none;
|
||||
margin-top: -10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ export const validUser = {
|
||||
admin: true,
|
||||
enabled: true,
|
||||
needs_password_reset: false,
|
||||
gravatarURL: 'https://www.gravatar.com/avatar/7157f4758f8423b59aaee869d919f6b9?d=blank',
|
||||
gravatarURL: 'https://www.gravatar.com/avatar/7157f4758f8423b59aaee869d919f6b9?d=blank&size=200',
|
||||
};
|
||||
|
||||
export const validCreateLabelRequest = (bearerToken, labelParams) => {
|
||||
|
Loading…
Reference in New Issue
Block a user