]> Untitled Git - lemmy-ui.git/commitdiff
fix: Undo some other extraneous changes
authorJay Sitter <jay@jaysitter.com>
Thu, 22 Jun 2023 21:32:24 +0000 (17:32 -0400)
committerJay Sitter <jay@jaysitter.com>
Thu, 22 Jun 2023 21:32:24 +0000 (17:32 -0400)
src/shared/components/post/post-listing.tsx

index 15e74168cb4b74adcace06979978b4aab29a73f7..b4c86eeef8932dc6227426dee6630cdf73d9268f 100644 (file)
@@ -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",