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: [ classNameBindings: [
"visible:show", "visible:show",
"showBadges", "showBadges",
"user.card_background::no-bg", "user.card_background_upload_url::no-bg",
"isFixed:fixed", "isFixed:fixed",
"usernameClass", "usernameClass",
], ],

View File

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