From cd0a5a60c671626c1415ef45e51c79ed64ed7390 Mon Sep 17 00:00:00 2001 From: Jay Sitter <jay@jaysitter.com> Date: Sun, 18 Jun 2023 00:41:47 -0400 Subject: [PATCH] fix: Fix display inline of post title --- src/shared/components/post/post-listing.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 40b8ff2..942c765 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -497,7 +497,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> { const post = this.postView.post; return ( <Link - className={`d-inline-block ${ + className={`d-inline ${ !post.featured_community && !post.featured_local ? "text-body" : "text-primary" @@ -505,8 +505,8 @@ export class PostListing extends Component<PostListingProps, PostListingState> { to={`/post/${post.id}`} title={i18n.t("comments")} > - <div - className="d-inline-block" + <span + className="d-inline" dangerouslySetInnerHTML={mdToHtmlInline(post.name)} /> </Link> -- 2.44.1