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: [
|
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",
|
||||||
],
|
],
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue