mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 08:11:20 +00:00
Needs to go below image expander
This commit is contained in:
parent
99013606c0
commit
4b68e63f94
1 changed files with 12 additions and 12 deletions
|
@ -84,18 +84,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
<a className="ml-2 text-muted font-italic" href={post.url} target="_blank" title={post.url}>{(new URL(post.url)).hostname}</a>
|
<a className="ml-2 text-muted font-italic" href={post.url} target="_blank" title={post.url}>{(new URL(post.url)).hostname}</a>
|
||||||
</small>
|
</small>
|
||||||
}
|
}
|
||||||
{post.removed &&
|
|
||||||
<small className="ml-2 text-muted font-italic"><T i18nKey="removed">#</T></small>
|
|
||||||
}
|
|
||||||
{post.deleted &&
|
|
||||||
<small className="ml-2 text-muted font-italic"><T i18nKey="deleted">#</T></small>
|
|
||||||
}
|
|
||||||
{post.locked &&
|
|
||||||
<small className="ml-2 text-muted font-italic"><T i18nKey="locked">#</T></small>
|
|
||||||
}
|
|
||||||
{post.nsfw &&
|
|
||||||
<small className="ml-2 text-muted font-italic"><T i18nKey="nsfw">#</T></small>
|
|
||||||
}
|
|
||||||
{ post.url && isImage(post.url) &&
|
{ post.url && isImage(post.url) &&
|
||||||
<>
|
<>
|
||||||
{ !this.state.imageExpanded
|
{ !this.state.imageExpanded
|
||||||
|
@ -110,6 +98,18 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
}
|
}
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
{post.removed &&
|
||||||
|
<small className="ml-2 text-muted font-italic"><T i18nKey="removed">#</T></small>
|
||||||
|
}
|
||||||
|
{post.deleted &&
|
||||||
|
<small className="ml-2 text-muted font-italic"><T i18nKey="deleted">#</T></small>
|
||||||
|
}
|
||||||
|
{post.locked &&
|
||||||
|
<small className="ml-2 text-muted font-italic"><T i18nKey="locked">#</T></small>
|
||||||
|
}
|
||||||
|
{post.nsfw &&
|
||||||
|
<small className="ml-2 text-muted font-italic"><T i18nKey="nsfw">#</T></small>
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="details ml-4 mb-1">
|
<div className="details ml-4 mb-1">
|
||||||
|
|
Loading…
Reference in a new issue