Better image click

This commit is contained in:
Dessalines 2019-05-05 14:50:17 -07:00
parent b4a43d9b2a
commit f034308070

View file

@ -99,7 +99,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<span> <span>
<span class="pointer ml-2 badge badge-light text-muted small" onClick={linkEvent(this, this.handleImageExpandClick)}>-</span> <span class="pointer ml-2 badge badge-light text-muted small" onClick={linkEvent(this, this.handleImageExpandClick)}>-</span>
<div> <div>
<a href={post.url} target="_blank"><img class="img-fluid" src={post.url} /></a> <span class="pointer" onClick={linkEvent(this, this.handleImageExpandClick)}><img class="img-fluid" src={post.url} /></span>
</div> </div>
</span> </span>
} }