From: Jay Sitter Date: Wed, 21 Jun 2023 04:20:05 +0000 (-0400) Subject: fix: Small adjustments to create post form X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7BdonateLemmyUrl%7D?a=commitdiff_plain;h=deed524a7f7ac9b3e8ebd9dcfe3e22809ad4f8f5;p=lemmy-ui.git fix: Small adjustments to create post form --- diff --git a/src/shared/components/common/language-select.tsx b/src/shared/components/common/language-select.tsx index 619e1a5..02deb43 100644 --- a/src/shared/components/common/language-select.tsx +++ b/src/shared/components/common/language-select.tsx @@ -66,10 +66,9 @@ export class LanguageSelect extends Component { {i18n.t(this.props.multiple ? "language_plural" : "language")}
{this.selectBtn} {this.props.multiple && ( diff --git a/src/shared/components/post/create-post.tsx b/src/shared/components/post/create-post.tsx index ebdf999..ff136c2 100644 --- a/src/shared/components/post/create-post.tsx +++ b/src/shared/components/post/create-post.tsx @@ -178,7 +178,7 @@ export class CreatePost extends Component< id="createPostForm" className="col-12 col-lg-6 offset-lg-3 mb-4" > -
{i18n.t("create_post")}
+

{i18n.t("create_post")}

{ />
+ {!this.props.post_view && (
)} {this.props.enableNsfw && ( -
- - {i18n.t("nsfw")} - -
-
- -
-
+
+ +
)} -