UX: Styles for user-cards should the same with badges on / off

This commit is contained in:
Joe 2018-08-27 11:16:48 +08:00 committed by GitHub
parent 1f4af5ab36
commit fb0b54f7f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ $user_card_background: $secondary;
#user-card,
#group-card {
position: absolute;
width: 500px;
width: 580px;
left: -9999px;
top: -9999px;
z-index: z("usercard");
@ -268,9 +268,6 @@ $user_card_background: $secondary;
color: scale-color($user_card_background, $lightness: 70%);
}
&.show-badges {
width: 580px;
.names {
float: left;
width: 45%;
@ -304,7 +301,6 @@ $user_card_background: $secondary;
@extend .user-badge;
padding: 3px 8px;
}
}
.suspended {
color: $danger;