From: Dessalines Date: Sun, 16 Feb 2020 01:29:57 +0000 (-0500) Subject: Some front end fixes. X-Git-Url: http://these/git/%22https:/join-lemmy.org/static/git-favicon.png?a=commitdiff_plain;h=4b0a55144f3d0f5d468cc17f39218dcaa010a71f;p=lemmy.git Some front end fixes. --- diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx index e28c99bc..67386469 100644 --- a/ui/src/components/community.tsx +++ b/ui/src/components/community.tsx @@ -136,6 +136,7 @@ export class Community extends Component { render() { return (
+ {this.selects()} {this.state.loading ? (
@@ -158,7 +159,6 @@ export class Community extends Component { )}
- {this.selects()} {this.listings()} {this.paginator()}
@@ -200,7 +200,7 @@ export class Community extends Component { onChange={this.handleDataTypeChange} /> - + { }`} target="_blank" > - + # diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index c8e132f7..87a2fb66 100644 --- a/ui/src/components/main.tsx +++ b/ui/src/components/main.tsx @@ -386,6 +386,7 @@ export class Main extends Component { posts() { return (
+ {this.selects()} {this.state.loading ? (
@@ -394,7 +395,6 @@ export class Main extends Component {
) : (
- {this.selects()} {this.listings()} {this.paginator()}
@@ -428,7 +428,7 @@ export class Main extends Component { type_={this.state.dataType} onChange={this.handleDataTypeChange} /> - + {
- - {post.name} - + {this.props.showBody && post.url ? ( + + {post.name} + + ) : ( + + {post.name} + + )}
{post.url && (