Merge branch 'main' into fix/fix-intense-hr-color

This commit is contained in:
SleeplessOne1917 2023-06-19 03:20:59 +00:00 committed by GitHub
commit 61586459ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -1,2 +1,3 @@
src/shared/translations
lemmy-translations
src/assets/css/themes/*.css

View file

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