Image thumbnail click now expands here.

This commit is contained in:
Dessalines 2019-04-24 10:42:57 -07:00
parent fe24394be3
commit 5e0653ac31

View file

@ -67,7 +67,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
</div>
</div>
{post.url && isImage(post.url) &&
<a href={post.url} target="_blank"><img class="mx-2 float-left img-fluid thumbnail rounded" src={post.url} /></a>
<span class="pointer" onClick={linkEvent(this, this.handleImageExpandClick)}><img class="mx-2 float-left img-fluid thumbnail rounded" src={post.url} /></span>
}
<div className="ml-4">
{post.url