projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbd2b72
)
fix: Fix display inline of post title
author
Jay Sitter
<jay@jaysitter.com>
Sun, 18 Jun 2023 04:41:47 +0000
(
00:41
-0400)
committer
Jay Sitter
<jay@jaysitter.com>
Sun, 18 Jun 2023 14:19:42 +0000
(10:19 -0400)
src/shared/components/post/post-listing.tsx
patch
|
blob
|
history
diff --git
a/src/shared/components/post/post-listing.tsx
b/src/shared/components/post/post-listing.tsx
index 1120de1c81952f0098b6f825149605471568f349..222e4857aed577e642226e5bf17b8caf0f7fc557 100644
(file)
--- 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>