FIX: remove old usercard styles, fix bg img class (#12712)
This commit is contained in:
parent
0ec5fd5262
commit
d89e9fcfa3
|
@ -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",
|
||||
],
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue