]> Untitled Git - lemmy-ui.git/commitdiff
fix: Fix display inline of post title
authorJay Sitter <jay@jaysitter.com>
Sun, 18 Jun 2023 04:41:47 +0000 (00:41 -0400)
committerJay Sitter <jay@jaysitter.com>
Sun, 18 Jun 2023 04:41:47 +0000 (00:41 -0400)
src/shared/components/post/post-listing.tsx

index 40b8ff27baf217381dd8e737c877147431a0c742..942c765174e2919cd660b2c95b2a56f25f075bd4 100644 (file)
@@ -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>