]> Untitled Git - lemmy-ui.git/commitdiff
Cleaning up new comment badge. Fixes #1443
authorDessalines <tyhou13@gmx.com>
Wed, 21 Jun 2023 19:02:23 +0000 (15:02 -0400)
committerDessalines <tyhou13@gmx.com>
Wed, 21 Jun 2023 19:02:23 +0000 (15:02 -0400)
src/shared/components/post/post-listing.tsx

index 5249e8fa1951b8864f2dac5a6287e723bf6dd3bc..44dde4afb933757cb20c6f80576c3b670888c671 100644 (file)
@@ -746,10 +746,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
         to={`/post/${post_view.post.id}?scrollToComments=true`}
         data-tippy-content={title}
       >
-        <Icon icon="message-square" classes="me-1" inline />
-        {post_view.counts.comments}
+        <span className="me-1">
+          <Icon icon="message-square" classes="me-1" inline />
+          {post_view.counts.comments}
+        </span>
         {this.unreadCount && (
-          <span className="badge text-bg-warning">
+          <span className="text-muted fst-italic">
             ({this.unreadCount} {i18n.t("new")})
           </span>
         )}