diff --git a/app/assets/javascripts/discourse/views/user/user_view.js b/app/assets/javascripts/discourse/views/user/user_view.js index c6bd2f219..86c8a5ff5 100644 --- a/app/assets/javascripts/discourse/views/user/user_view.js +++ b/app/assets/javascripts/discourse/views/user/user_view.js @@ -16,7 +16,11 @@ Discourse.UserView = Discourse.View.extend({ if (username) { return Discourse.set('title', "" + (I18n.t("user.profile")) + " - " + username); } - }.observes('user.loaded', 'user.username') + }.observes('user.loaded', 'user.username'), + + didInsertElement: function() { + window.scrollTo(0, 0); + } }); diff --git a/app/assets/stylesheets/desktop/user.scss b/app/assets/stylesheets/desktop/user.scss index e58ed72ec..fc961f4ab 100644 --- a/app/assets/stylesheets/desktop/user.scss +++ b/app/assets/stylesheets/desktop/user.scss @@ -161,12 +161,22 @@ img.avatar { border: 3px solid #eee; margin-bottom: 4px; + background-color: white; } .primary { margin-top: 30px; float: left; width: 75%; + + .bio { + color: #ddd; + + a[href] { + color: #aae; + } + } + } .secondary { diff --git a/app/assets/stylesheets/mobile/user.scss b/app/assets/stylesheets/mobile/user.scss index 6efc3abb7..4ac9aeb64 100644 --- a/app/assets/stylesheets/mobile/user.scss +++ b/app/assets/stylesheets/mobile/user.scss @@ -64,7 +64,9 @@ .avatar { float: left; width: 45px; + background-color: white; } + nav.buttons { width: 180px; padding: 0;