From 90cd24b8caa012ddeb878818401d9189d88ab233 Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sun, 18 Jun 2023 12:46:31 -0400 Subject: [PATCH 1/3] fix: Fix post creator text alignment --- src/shared/components/person/person-listing.tsx | 8 ++++++-- src/shared/components/post/post-listing.tsx | 8 ++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/shared/components/person/person-listing.tsx b/src/shared/components/person/person-listing.tsx index fe8b8418..4d2f5cf4 100644 --- a/src/shared/components/person/person-listing.tsx +++ b/src/shared/components/person/person-listing.tsx @@ -48,7 +48,9 @@ export class PersonListing extends Component { {!this.props.realLink ? ( {this.avatarAndName(displayName)} @@ -56,7 +58,9 @@ export class PersonListing extends Component { ) : ( diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 56961e22..93a436f3 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -386,10 +386,10 @@ export class PostListing extends Component { )} {this.props.showCommunity && ( - - {i18n.t("to")} - - + <> + {" "} + {i18n.t("to")} + )} {post_view.post.language_id !== 0 && ( From ad984c8584bf04a9e1800d012caa57b9bc3e820e Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sun, 18 Jun 2023 23:19:56 -0400 Subject: [PATCH 3/3] fix: Use classnames --- src/shared/components/person/person-listing.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/shared/components/person/person-listing.tsx b/src/shared/components/person/person-listing.tsx index 4d2f5cf4..045633c7 100644 --- a/src/shared/components/person/person-listing.tsx +++ b/src/shared/components/person/person-listing.tsx @@ -1,3 +1,4 @@ +import classNames from "classnames"; import { Component } from "inferno"; import { Link } from "inferno-router"; import { Person } from "lemmy-js-client"; @@ -48,9 +49,10 @@ export class PersonListing extends Component { {!this.props.realLink ? ( {this.avatarAndName(displayName)}