From: Zetaphor Date: Fri, 16 Jun 2023 17:12:27 +0000 (-0300) Subject: Add ID's and classes to sidebars X-Git-Url: http://these/git/?a=commitdiff_plain;h=da1a4f81dfe1ea2369c7c07df445730a87f39c72;p=lemmy-ui.git Add ID's and classes to sidebars --- 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()}