From d8963d9bfe34a6dbd630cbf2b4e9dc0d41993ce9 Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 Date: Sun, 25 Jun 2023 12:09:53 -0400 Subject: [PATCH 1/3] Add margin to new comment text --- src/shared/components/post/post-listing.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 092e253e..20be5b23 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -741,7 +741,7 @@ export class PostListing extends Component { {post_view.counts.comments} {this.unreadCount && ( - + ({this.unreadCount} {I18NextService.i18n.t("new")}) )} From 6a69d6b06385b932d4f8a0a8b67de6ad3d4bedae Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 Date: Sun, 25 Jun 2023 13:28:00 -0400 Subject: [PATCH 2/3] Use spae instead of margin --- src/shared/components/post/post-listing.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 20be5b23..e43590e5 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -741,9 +741,12 @@ export class PostListing extends Component { {post_view.counts.comments} {this.unreadCount && ( - - ({this.unreadCount} {I18NextService.i18n.t("new")}) - + <> + {" "} + + ({this.unreadCount} {I18NextService.i18n.t("new")}) + + )} ); From 353d4c7e39dd386eb902c6b3cc656f67b27ec793 Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 Date: Sun, 25 Jun 2023 15:13:27 -0400 Subject: [PATCH 3/3] Update post-listing.tsx Removed unnecessary bootstrap class --- src/shared/components/post/post-listing.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index e43590e5..76a3e445 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -743,7 +743,7 @@ export class PostListing extends Component { {this.unreadCount && ( <> {" "} - + ({this.unreadCount} {I18NextService.i18n.t("new")})