From: Dessalines Date: Fri, 25 Sep 2020 22:47:38 +0000 (-0500) Subject: Fixing post listing issue. X-Git-Url: http://these/git/?a=commitdiff_plain;h=5c740cdff0a9eb00e3dc438cd11b35e16e5978a7;p=lemmy-ui.git Fixing post listing issue. --- diff --git a/src/shared/components/post-listing.tsx b/src/shared/components/post-listing.tsx index cac0fd7..0f56d22 100644 --- a/src/shared/components/post-listing.tsx +++ b/src/shared/components/post-listing.tsx @@ -490,7 +490,7 @@ export class PostListing extends Component { ); } - commentsLine(showVotes: boolean = false) { + commentsLine(mobile: boolean = false) { let post = this.props.post; return (
@@ -510,9 +510,22 @@ export class PostListing extends Component { })} + {!mobile && this.state.downvotes !== 0 && ( + + )} {/* This is an expanding spacer for mobile */}
- {(showVotes || this.state.upvotes !== this.state.score) && ( + {mobile && ( <>