diff --git a/web/app/assets/javascripts/accounts_profile.js b/web/app/assets/javascripts/accounts_profile.js index 85491c39c..615bdf708 100644 --- a/web/app/assets/javascripts/accounts_profile.js +++ b/web/app/assets/javascripts/accounts_profile.js @@ -36,6 +36,7 @@ city: userDetail.city, first_name: userDetail.first_name, last_name: userDetail.last_name, + photoUrl: context.JK.resolveAvatarUrl(userDetail.photo_url), user_instruments: userDetail.instruments, birth_date : userDetail.birth_date, gender: userDetail.gender, diff --git a/web/app/assets/stylesheets/client/account.css.scss b/web/app/assets/stylesheets/client/account.css.scss index 93967f182..c6410266f 100644 --- a/web/app/assets/stylesheets/client/account.css.scss +++ b/web/app/assets/stylesheets/client/account.css.scss @@ -59,7 +59,15 @@ } .account-profile { - padding-top:25px; + padding-top:20px; + + .avatar_large { + position:absolute; + float:none; + top: -36px; + right:0; + margin-right:20%; + } h2 { margin-bottom:15px; @@ -67,17 +75,16 @@ .location { position:relative; + padding-top:25px; } #account-change-avatar { - position:absolute; - top:-27px; - right:72px; height:13px; + float:right; + margin-right:17%; } .birth_date { - margin-left:40px; } } diff --git a/web/app/views/clients/_account_profile.html.erb b/web/app/views/clients/_account_profile.html.erb index e301ae4e5..982493710 100644 --- a/web/app/views/clients/_account_profile.html.erb +++ b/web/app/views/clients/_account_profile.html.erb @@ -30,7 +30,9 @@