mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-09 01:10:39 +00:00
Better image click
This commit is contained in:
parent
124b84787f
commit
83f821a059
@ -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
Block a user