Merge branch 'main' into fix/prettier-ignore-generated-themes

This commit is contained in:
SleeplessOne1917 2023-06-19 03:08:45 +00:00 committed by GitHub
commit 338f987d10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -552,7 +552,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
</button> </button>
))} ))}
{post.removed && ( {post.removed && (
<small className="ml-2 text-muted font-italic"> <small className="ml-2 badge text-bg-secondary">
{i18n.t("removed")} {i18n.t("removed")}
</small> </small>
)} )}
@ -589,9 +589,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
</small> </small>
)} )}
{post.nsfw && ( {post.nsfw && (
<small className="ml-2 text-muted font-italic"> <small className="ml-2 badge text-bg-danger">{i18n.t("nsfw")}</small>
{i18n.t("nsfw")}
</small>
)} )}
</div> </div>
); );