From 2d79ad32b55f8976bd6b4d67af05fec2ebdc96bf Mon Sep 17 00:00:00 2001 From: Zetaphor Date: Fri, 16 Jun 2023 14:12:07 -0300 Subject: [PATCH] Add clases and ID's to post form/listing --- src/shared/components/post/create-post.tsx | 5 ++++- src/shared/components/post/post-listing.tsx | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/shared/components/post/create-post.tsx b/src/shared/components/post/create-post.tsx index c759791..baa7b45 100644 --- a/src/shared/components/post/create-post.tsx +++ b/src/shared/components/post/create-post.tsx @@ -166,7 +166,10 @@ export class CreatePost extends Component< ) : (
-
+
{i18n.t("create_post")}
{ body() { const body = this.postView.post.body; return body ? ( -
+
{this.state.viewSource ? (
{body}
) : ( @@ -464,7 +464,7 @@ export class PostListing extends Component { {showScores() ? (
{numToSI(this.postView.counts.score)} @@ -1398,7 +1398,7 @@ export class PostListing extends Component { <> {/* The mobile view*/}
-
+
{this.createdLine()} @@ -1418,9 +1418,9 @@ export class PostListing extends Component { {/* The larger view*/}
-
+
{!this.props.viewOnly && this.voteBar()} -
+
{this.thumbnail()}
-- 2.44.1