mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 15:29:08 +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;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.j2-label {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.sweet-overlay {
|
.sweet-overlay {
|
||||||
z-index: 1031;
|
z-index: 1031;
|
||||||
}
|
}
|
|
@ -5,30 +5,30 @@
|
||||||
.profile--displayname
|
.profile--displayname
|
||||||
= @user.screen_name
|
= @user.screen_name
|
||||||
- if @user.admin?
|
- if @user.admin?
|
||||||
%span.label.label-danger.j2-up
|
%span.label.label-danger.j2-up.j2-label
|
||||||
%i.fa.fa-flask
|
%i.fa.fa-flask
|
||||||
Admin
|
Admin
|
||||||
- if @user.moderator?
|
- if @user.moderator?
|
||||||
%span.label.label-success.j2-up
|
%span.label.label-success.j2-up.j2-label
|
||||||
%i.fa.fa-users
|
%i.fa.fa-users
|
||||||
Mod
|
Mod
|
||||||
- if @user.supporter?
|
- if @user.supporter?
|
||||||
%span.label.label-warning.j2-up
|
%span.label.label-warning.j2-up.j2-label
|
||||||
%i.fa.fa-star
|
%i.fa.fa-star
|
||||||
Supporter
|
Supporter
|
||||||
- else
|
- else
|
||||||
.profile--displayname
|
.profile--displayname
|
||||||
= @user.display_name
|
= @user.display_name
|
||||||
- if @user.admin?
|
- if @user.admin?
|
||||||
%span.label.label-danger.j2-up
|
%span.label.label-danger.j2-up.j2-label
|
||||||
%i.fa.fa-flask
|
%i.fa.fa-flask
|
||||||
Admin
|
Admin
|
||||||
- if @user.moderator?
|
- if @user.moderator?
|
||||||
%span.label.label-success.j2-up
|
%span.label.label-success.j2-up.j2-label
|
||||||
%i.fa.fa-users
|
%i.fa.fa-users
|
||||||
Mod
|
Mod
|
||||||
- if @user.supporter?
|
- if @user.supporter?
|
||||||
%span.label.label-warning.j2-up
|
%span.label.label-warning.j2-up.j2-label
|
||||||
%i.fa.fa-star
|
%i.fa.fa-star
|
||||||
Supporter
|
Supporter
|
||||||
.profile--username
|
.profile--username
|
||||||
|
|
Loading…
Reference in a new issue