more style fixes on profiles
This commit is contained in:
parent
cdf6b9ba06
commit
36ac06ec6e
|
@ -34,3 +34,13 @@ 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;
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue