more style fixes on profiles

This commit is contained in:
pixeldesu 2014-11-29 23:40:57 +01:00
parent cdf6b9ba06
commit 36ac06ec6e
2 changed files with 12 additions and 2 deletions

View File

@ -33,4 +33,14 @@ body {
.answerbox-question-text, .answerbox-question-user {
margin-bottom: 0px;
}
.user-displayname {
margin-top: 12px;
margin-bottom: 2px;
}
.user-username {
margin-top: 0px;
margin-bottom: 2px;
}

View File

@ -8,8 +8,8 @@
- if @user.display_name.blank?
%h1= @user.screen_name
- else
%h1= @user.display_name
%h3.text-muted= @user.screen_name
%h1.user-displayname= @user.display_name
%h3.text-muted.user-username= @user.screen_name
- if @user.admin?
%span.label.label-danger Admin
%h4.entry-text= @user.follower_count