Merge pull request #1588 from LemmyNet/new-comment-space

Add margin to new comment text
This commit is contained in:
SleeplessOne1917 2023-06-25 19:15:40 +00:00 committed by GitHub
commit e94b8b4e1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -741,9 +741,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<Icon icon="message-square" classes="me-1" inline />
{post_view.counts.comments}
{this.unreadCount && (
<span className="text-muted fst-italic">
({this.unreadCount} {I18NextService.i18n.t("new")})
</span>
<>
{" "}
<span className="fst-italic">
({this.unreadCount} {I18NextService.i18n.t("new")})
</span>
</>
)}
</Link>
);