mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
Fix up hidden post styles; don't show user card
This commit is contained in:
parent
496e11c003
commit
600e56d16a
|
@ -31,7 +31,7 @@ export default class PostHeaderUser extends Component {
|
||||||
username()
|
username()
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
user && this.showCard()
|
user && !post.isHidden() && this.showCard()
|
||||||
? UserCard.component({user, className: 'user-card-popover fade', controlsButtonClass: 'btn btn-default btn-icon btn-sm btn-naked'})
|
? UserCard.component({user, className: 'user-card-popover fade', controlsButtonClass: 'btn btn-default btn-icon btn-sm btn-naked'})
|
||||||
: ''
|
: ''
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -218,7 +218,7 @@
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
}
|
}
|
||||||
.post.is-hidden {
|
.post.is-hidden {
|
||||||
& .post-user h3, & .post-user h3 a, & .post-header, & .post-header > ul > li > a {
|
& .post-header, & .post-header a, & .post-user h3, & .post-user h3 a {
|
||||||
color: @fl-body-muted-more-color;
|
color: @fl-body-muted-more-color;
|
||||||
}
|
}
|
||||||
& .post-body, & .post-footer, & h3 .avatar {
|
& .post-body, & .post-footer, & h3 .avatar {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user