From: Dessalines Date: Wed, 12 Jan 2022 14:42:14 +0000 (-0500) Subject: Fixing issue with offset post body and metadata card. Fixes #544 X-Git-Url: http://these/git/%22https:/join-lemmy.org/static/%7BimageUploadUrl%7D?a=commitdiff_plain;h=b06b641c9ebef16ad2f3e98ee6694332c6a3f84e;p=lemmy-ui.git Fixing issue with offset post body and metadata card. Fixes #544 --- diff --git a/src/shared/components/post/metadata-card.tsx b/src/shared/components/post/metadata-card.tsx index f529e3e..85fcdb6 100644 --- a/src/shared/components/post/metadata-card.tsx +++ b/src/shared/components/post/metadata-card.tsx @@ -29,7 +29,7 @@ export class MetadataCard extends Component< return ( <> {post.embed_title && !this.state.expanded && ( -
+
diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index a2b3469..bf90cb2 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -161,7 +161,7 @@ export class PostListing extends Component { body() { let post = this.props.post_view.post; return ( -
+
{this.state.viewSource ? (
{post.body}
) : (