mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 04:26:03 +01:00
fix broken labels
This commit is contained in:
parent
fcf7d430eb
commit
11cd8b59f8
2 changed files with 10 additions and 6 deletions
|
@ -71,6 +71,10 @@ body {
|
|||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.j2-label {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sweet-overlay {
|
||||
z-index: 1031;
|
||||
}
|
|
@ -5,30 +5,30 @@
|
|||
.profile--displayname
|
||||
= @user.screen_name
|
||||
- if @user.admin?
|
||||
%span.label.label-danger.j2-up
|
||||
%span.label.label-danger.j2-up.j2-label
|
||||
%i.fa.fa-flask
|
||||
Admin
|
||||
- if @user.moderator?
|
||||
%span.label.label-success.j2-up
|
||||
%span.label.label-success.j2-up.j2-label
|
||||
%i.fa.fa-users
|
||||
Mod
|
||||
- if @user.supporter?
|
||||
%span.label.label-warning.j2-up
|
||||
%span.label.label-warning.j2-up.j2-label
|
||||
%i.fa.fa-star
|
||||
Supporter
|
||||
- else
|
||||
.profile--displayname
|
||||
= @user.display_name
|
||||
- if @user.admin?
|
||||
%span.label.label-danger.j2-up
|
||||
%span.label.label-danger.j2-up.j2-label
|
||||
%i.fa.fa-flask
|
||||
Admin
|
||||
- if @user.moderator?
|
||||
%span.label.label-success.j2-up
|
||||
%span.label.label-success.j2-up.j2-label
|
||||
%i.fa.fa-users
|
||||
Mod
|
||||
- if @user.supporter?
|
||||
%span.label.label-warning.j2-up
|
||||
%span.label.label-warning.j2-up.j2-label
|
||||
%i.fa.fa-star
|
||||
Supporter
|
||||
.profile--username
|
||||
|
|
Loading…
Reference in a new issue