mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 15:39:11 +00:00
Better image click
This commit is contained in:
parent
b4a43d9b2a
commit
f034308070
|
@ -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 a new issue