fix unused channel style on search page

This commit is contained in:
Sean Yesmunt 2019-12-11 15:54:26 -05:00
parent 7e13493f8e
commit 5d3077ff9f
2 changed files with 8 additions and 7 deletions

View file

@ -191,12 +191,13 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
'claim-preview--pending': pending,
})}
>
{isChannel ? (
<UriIndicator uri={uri} link>
<ChannelThumbnail uri={uri} obscure={channelIsBlocked} />
</UriIndicator>
) : (<CardMedia thumbnail={thumbnail} />)
}
{isChannel && claim ? (
<UriIndicator uri={uri} link>
<ChannelThumbnail uri={uri} obscure={channelIsBlocked} />
</UriIndicator>
) : (
<CardMedia thumbnail={thumbnail} />
)}
<div className="claim-preview-metadata">
<div className="claim-preview-info">
<div className="claim-preview-title">

View file

@ -72,7 +72,7 @@
.claim-preview--large {
border: none;
padding: 0;
margin: var(--spacing-medium);
padding: var(--spacing-medium);
&:hover {
background-color: transparent;