fix broken labels

This commit is contained in:
Andreas N 2015-01-05 00:50:27 +01:00
parent fcf7d430eb
commit 11cd8b59f8
2 changed files with 10 additions and 6 deletions

View file

@ -71,6 +71,10 @@ body {
text-transform: uppercase;
}
.j2-label {
display: inline-block;
}
.sweet-overlay {
z-index: 1031;
}

View file

@ -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