From 28fd28f6d3c46b069c7aa5cea3f3cb88220fa27f Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sun, 18 Jun 2023 10:47:29 -0400 Subject: [PATCH 1/2] feat: Badge-ify NSFW and removed by mod title info --- src/shared/components/post/post-listing.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 56961e22..fa0aad9a 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -552,7 +552,7 @@ export class PostListing extends Component { ))} {post.removed && ( - + {i18n.t("removed")} )} @@ -589,9 +589,7 @@ export class PostListing extends Component { )} {post.nsfw && ( - - {i18n.t("nsfw")} - + {i18n.t("nsfw")} )} ); From cc6679e8e359b4ad5b87d533c6db0d4fc53ddbfc Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sun, 18 Jun 2023 12:03:12 -0400 Subject: [PATCH 2/2] fix: Prettier ignore generated themes, as they aren't written by humans --- .prettierignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index e7a0d20e..98eb0d9b 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,3 @@ src/shared/translations -lemmy-translations \ No newline at end of file +lemmy-translations +src/assets/css/themes/*.css