mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:09:52 +01:00
more style fixes on profiles
This commit is contained in:
parent
cdf6b9ba06
commit
36ac06ec6e
2 changed files with 12 additions and 2 deletions
|
@ -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;
|
||||
}
|
|
@ -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 a new issue