Minor tweaks to user view

This commit is contained in:
Robin Ward 2013-10-16 16:22:16 -04:00
parent 2a8db38c7a
commit 7e9b119c9c
3 changed files with 17 additions and 1 deletions

View File

@ -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);
}
});

View File

@ -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 {

View File

@ -64,7 +64,9 @@
.avatar {
float: left;
width: 45px;
background-color: white;
}
nav.buttons {
width: 180px;
padding: 0;