From b06b641c9ebef16ad2f3e98ee6694332c6a3f84e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 12 Jan 2022 09:42:14 -0500 Subject: [PATCH] Fixing issue with offset post body and metadata card. Fixes #544 --- src/shared/components/post/metadata-card.tsx | 2 +- src/shared/components/post/post-listing.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}
) : ( -- 2.44.1