From da1a4f81dfe1ea2369c7c07df445730a87f39c72 Mon Sep 17 00:00:00 2001 From: Zetaphor Date: Fri, 16 Jun 2023 14:12:27 -0300 Subject: [PATCH] Add ID's and classes to sidebars --- src/shared/components/community/sidebar.tsx | 6 +++--- src/shared/components/home/home.tsx | 6 +++--- src/shared/components/home/site-sidebar.tsx | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/shared/components/community/sidebar.tsx b/src/shared/components/community/sidebar.tsx index 63378a1..692987b 100644 --- a/src/shared/components/community/sidebar.tsx +++ b/src/shared/components/community/sidebar.tsx @@ -135,8 +135,8 @@ export class Sidebar extends Component { const myUSerInfo = UserService.Instance.myUserInfo; const { name, actor_id } = this.props.community_view.community; return ( -
-
+
+
{this.communityTitle()} {this.props.editable && this.adminButtons()} @@ -158,7 +158,7 @@ export class Sidebar extends Component { )}
-
+
{this.description()} {this.badges()} diff --git a/src/shared/components/home/home.tsx b/src/shared/components/home/home.tsx index 1abb1ee..9c7cd75 100644 --- a/src/shared/components/home/home.tsx +++ b/src/shared/components/home/home.tsx @@ -423,8 +423,8 @@ export class Home extends Component { return (
-
-
+
+
{this.trendingCommunities()} {canCreateCommunity(this.state.siteRes) && ( @@ -447,7 +447,7 @@ export class Home extends Component { showLocal={showLocal(this.isoData)} /> {this.hasFollows && ( -
+
{this.subscribedCommunities}
)} diff --git a/src/shared/components/home/site-sidebar.tsx b/src/shared/components/home/site-sidebar.tsx index 051c3af..d96a138 100644 --- a/src/shared/components/home/site-sidebar.tsx +++ b/src/shared/components/home/site-sidebar.tsx @@ -30,7 +30,7 @@ export class SiteSidebar extends Component { render() { return ( -
+
{this.siteName()}
-- 2.44.1