mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Minor tweaks to user view
This commit is contained in:
parent
2a8db38c7a
commit
7e9b119c9c
3 changed files with 17 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -64,7 +64,9 @@
|
|||
.avatar {
|
||||
float: left;
|
||||
width: 45px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
nav.buttons {
|
||||
width: 180px;
|
||||
padding: 0;
|
||||
|
|
Loading…
Reference in a new issue