From: Zetaphor Date: Fri, 16 Jun 2023 17:12:07 +0000 (-0300) Subject: Add clases and ID's to post form/listing X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7BdonateLemmyUrl%7D?a=commitdiff_plain;h=2d79ad32b55f8976bd6b4d67af05fec2ebdc96bf;p=lemmy-ui.git Add clases and ID's to post form/listing --- 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()}