FIX: remove old usercard styles, fix bg img class (#12712)

This commit is contained in:
Kris 2021-04-15 16:34:47 -04:00 committed by GitHub
parent 0ec5fd5262
commit d89e9fcfa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View File

@ -20,7 +20,7 @@ export default Component.extend(CardContentsBase, CanCheckEmails, CleansUp, {
classNameBindings: [
"visible:show",
"showBadges",
"user.card_background::no-bg",
"user.card_background_upload_url::no-bg",
"isFixed:fixed",
"usernameClass",
],

View File

@ -48,7 +48,6 @@ $avatar_margin: -50px; // negative margin makes avatars extend above cards
.card-content {
padding: 10px;
background: rgba(var(--secondary-rgb), 0.85);
margin-top: 80px;
&:after {
content: "";
display: block;
@ -61,11 +60,6 @@ $avatar_margin: -50px; // negative margin makes avatars extend above cards
@include line-clamp(2);
}
}
&.no-bg {
.card-content {
margin-top: 0;
}
}
.card-row:not(.first-row) {
margin-top: 0.5em;
}