Fix up hidden post styles; don't show user card

This commit is contained in:
Toby Zerner 2015-05-06 08:33:00 +09:30
parent 496e11c003
commit 600e56d16a
2 changed files with 2 additions and 2 deletions

View File

@ -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'})
: '' : ''
]); ]);

View File

@ -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 {