mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
remove icon (#1618)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
This commit is contained in:
parent
7efc136ff5
commit
0956863b28
1 changed files with 5 additions and 15 deletions
|
@ -481,21 +481,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
this.postLink
|
this.postLink
|
||||||
)}
|
)}
|
||||||
</h5>
|
</h5>
|
||||||
{(url && isImage(url)) ||
|
|
||||||
(post.thumbnail_url && (
|
|
||||||
<button
|
|
||||||
className="btn btn-sm text-monospace text-muted d-inline-block"
|
|
||||||
data-tippy-content={I18NextService.i18n.t("expand_here")}
|
|
||||||
onClick={linkEvent(this, this.handleImageExpandClick)}
|
|
||||||
>
|
|
||||||
<Icon
|
|
||||||
icon={
|
|
||||||
!this.state.imageExpanded ? "plus-square" : "minus-square"
|
|
||||||
}
|
|
||||||
classes="icon-inline"
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
))}
|
|
||||||
|
|
||||||
{/**
|
{/**
|
||||||
* If there is a URL, or if the post has a body and we were told not to
|
* If there is a URL, or if the post has a body and we were told not to
|
||||||
|
@ -520,6 +505,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
{I18NextService.i18n.t("removed")}
|
{I18NextService.i18n.t("removed")}
|
||||||
</small>
|
</small>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{post.deleted && (
|
{post.deleted && (
|
||||||
<small
|
<small
|
||||||
className="unselectable pointer ms-2 text-muted fst-italic"
|
className="unselectable pointer ms-2 text-muted fst-italic"
|
||||||
|
@ -528,6 +514,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
<Icon icon="trash" classes="icon-inline text-danger" />
|
<Icon icon="trash" classes="icon-inline text-danger" />
|
||||||
</small>
|
</small>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{post.locked && (
|
{post.locked && (
|
||||||
<small
|
<small
|
||||||
className="unselectable pointer ms-2 text-muted fst-italic"
|
className="unselectable pointer ms-2 text-muted fst-italic"
|
||||||
|
@ -536,6 +523,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
<Icon icon="lock" classes="icon-inline text-danger" />
|
<Icon icon="lock" classes="icon-inline text-danger" />
|
||||||
</small>
|
</small>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{post.featured_community && (
|
{post.featured_community && (
|
||||||
<small
|
<small
|
||||||
className="unselectable pointer ms-2 text-muted fst-italic"
|
className="unselectable pointer ms-2 text-muted fst-italic"
|
||||||
|
@ -547,6 +535,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
<Icon icon="pin" classes="icon-inline text-primary" />
|
<Icon icon="pin" classes="icon-inline text-primary" />
|
||||||
</small>
|
</small>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{post.featured_local && (
|
{post.featured_local && (
|
||||||
<small
|
<small
|
||||||
className="unselectable pointer ms-2 text-muted fst-italic"
|
className="unselectable pointer ms-2 text-muted fst-italic"
|
||||||
|
@ -556,6 +545,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
<Icon icon="pin" classes="icon-inline text-secondary" />
|
<Icon icon="pin" classes="icon-inline text-secondary" />
|
||||||
</small>
|
</small>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{post.nsfw && (
|
{post.nsfw && (
|
||||||
<small className="ms-2 badge text-bg-danger">
|
<small className="ms-2 badge text-bg-danger">
|
||||||
{I18NextService.i18n.t("nsfw")}
|
{I18NextService.i18n.t("nsfw")}
|
||||||
|
|
Loading…
Reference in a new issue