mirror of https://github.com/LemmyNet/lemmy.git
Better image click
parent
fab44d58e6
commit
c9b7cd67fa
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue