mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-16 19:29:09 -06:00
Fix image expanding and truncation issue.
This commit is contained in:
parent
0457d4c8f1
commit
d5af66c1b1
1
ui/assets/css/main.css
vendored
1
ui/assets/css/main.css
vendored
@ -158,3 +158,4 @@ hr {
|
||||
.fl-1 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
|
6
ui/src/components/post-listing.tsx
vendored
6
ui/src/components/post-listing.tsx
vendored
@ -136,7 +136,11 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
{post.url && isImage(post.url) && !post.nsfw && !post.community_nsfw && (
|
||||
{post.url &&
|
||||
isImage(post.url) &&
|
||||
!post.nsfw &&
|
||||
!post.community_nsfw &&
|
||||
!this.state.imageExpanded && (
|
||||
<span
|
||||
title={i18n.t('expand_here')}
|
||||
class="pointer"
|
||||
|
Loading…
Reference in New Issue
Block a user