From: Dessalines Date: Tue, 20 Aug 2019 04:45:06 +0000 (-0700) Subject: Separate sidebar. X-Git-Url: http://these/git/%7B%60/static/assets/css/themes/%7Bthis.captchaPngSrc%28%29%7D?a=commitdiff_plain;h=46363811f0af34d0456910ec733cf890cb42e97c;p=lemmy.git Separate sidebar. --- diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index 32631811..1363a693 100644 --- a/ui/src/components/main.tsx +++ b/ui/src/components/main.tsx @@ -180,16 +180,14 @@ export class Main extends Component { sidebar() { return ( -
-
- {!this.state.showEditSite ? - this.siteInfo() : - - } -
+
+ {!this.state.showEditSite ? + this.siteInfo() : + + }
) } @@ -203,47 +201,52 @@ export class Main extends Component { siteInfo() { return (
-
{`${this.state.site.site.name}`}
- {this.canAdmin && -
    -
  • - - # - -
  • -
- } -
    -
  • - # -
  • -
  • - # -
  • -
  • - # -
  • -
  • - - # - -
  • -
-
    -
  • - #: -
  • - {this.state.site.admins.map(admin => -
  • {admin.name}
  • - )} -
- {this.state.site.site.description && -
-
-
+
+
+
{`${this.state.site.site.name}`}
+ {this.canAdmin && +
    +
  • + + # + +
  • +
+ } +
    +
  • + # +
  • +
  • + # +
  • +
  • + # +
  • +
  • + + # + +
  • +
+
    +
  • + #: +
  • + {this.state.site.admins.map(admin => +
  • {admin.name}
  • + )} +
+
- } -
+ {this.state.site.site.description && +
+
+
+
+
+ } +
) } @@ -256,7 +259,7 @@ export class Main extends Component { # Lemmybeta -

+

###

#

#

#

####