From 46363811f0af34d0456910ec733cf890cb42e97c Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 19 Aug 2019 21:45:06 -0700 Subject: [PATCH 1/2] Separate sidebar. --- ui/src/components/main.tsx | 105 +++++++++++++++++++------------------ 1 file changed, 54 insertions(+), 51 deletions(-) diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index 326318116..1363a6939 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 -

+

###

#

#

#

####

From baf205e113f7963fa65d373c84b73a0ac91284a8 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 20 Aug 2019 14:40:51 -0700 Subject: [PATCH 2/2] Removing navbar toggler border. --- ui/src/components/community.tsx | 2 +- ui/src/css/main.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx index 0a982a847..3459320c4 100644 --- a/ui/src/components/community.tsx +++ b/ui/src/components/community.tsx @@ -147,7 +147,7 @@ export class Community extends Component { paginator() { return ( -
+
{this.state.page > 1 && } diff --git a/ui/src/css/main.css b/ui/src/css/main.css index 729604a91..af1ca686c 100644 --- a/ui/src/css/main.css +++ b/ui/src/css/main.css @@ -2,6 +2,10 @@ body, .text-white, .navbar-brand, .badge-light, .btn-secondary { color: #dedede !important; } +.navbar-toggler { + border: 0px; +} + .pointer { cursor: pointer; }