From 1ea33e8c7e9acaffa97dd25c6a172ce441f01d91 Mon Sep 17 00:00:00 2001 From: Jay Sitter <jay@jaysitter.com> Date: Thu, 22 Jun 2023 17:32:24 -0400 Subject: [PATCH] fix: Undo some other extraneous changes --- src/shared/components/post/post-listing.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 15e7416..b4c86ee 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -656,6 +656,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> { return ( <> {this.saveButton} + {this.crossPostButton} {/** * If there is a URL, or if the post has a body and we were told not to @@ -680,11 +681,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> { </button> <ul className="dropdown-menu" id="advancedButtonsDropdown"> - <li>{this.crossPostButton}</li> - <li> - <hr className="dropdown-divider" /> - </li> - {!this.myPost ? ( <> <li>{this.reportButton}</li> @@ -779,7 +775,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> { get crossPostButton() { return ( <Link - className="btn-animate text-muted py-0" + className="btn btn-sm btn-animate text-muted py-0" to={{ /* Empty string properties are required to satisfy type*/ pathname: "/create_post", -- 2.44.1