Add ID's and classes to sidebars
This commit is contained in:
parent
2d79ad32b5
commit
da1a4f81df
3 changed files with 7 additions and 7 deletions
|
@ -135,8 +135,8 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
|
|||
const myUSerInfo = UserService.Instance.myUserInfo;
|
||||
const { name, actor_id } = this.props.community_view.community;
|
||||
return (
|
||||
<div>
|
||||
<div className="card border-secondary mb-3">
|
||||
<div id="sidebarContainer">
|
||||
<div id="sidebarMain" className="card border-secondary mb-3">
|
||||
<div className="card-body">
|
||||
{this.communityTitle()}
|
||||
{this.props.editable && this.adminButtons()}
|
||||
|
@ -158,7 +158,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
|
|||
)}
|
||||
</div>
|
||||
</div>
|
||||
<div className="card border-secondary mb-3">
|
||||
<div id="sidebarInfo" className="card border-secondary mb-3">
|
||||
<div className="card-body">
|
||||
{this.description()}
|
||||
{this.badges()}
|
||||
|
|
|
@ -423,8 +423,8 @@ export class Home extends Component<any, HomeState> {
|
|||
|
||||
return (
|
||||
<div>
|
||||
<div>
|
||||
<div className="card border-secondary mb-3">
|
||||
<div id="sidebarContainer">
|
||||
<div id="sidebarMain" className="card border-secondary mb-3">
|
||||
<div className="card-body">
|
||||
{this.trendingCommunities()}
|
||||
{canCreateCommunity(this.state.siteRes) && (
|
||||
|
@ -447,7 +447,7 @@ export class Home extends Component<any, HomeState> {
|
|||
showLocal={showLocal(this.isoData)}
|
||||
/>
|
||||
{this.hasFollows && (
|
||||
<div className="card border-secondary mb-3">
|
||||
<div id="sidebarSubscribed" className="card border-secondary mb-3">
|
||||
<div className="card-body">{this.subscribedCommunities}</div>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
@ -30,7 +30,7 @@ export class SiteSidebar extends Component<SiteSidebarProps, SiteSidebarState> {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<div className="card border-secondary mb-3">
|
||||
<div id="sidebarInfo" className="card border-secondary mb-3">
|
||||
<div className="card-body">
|
||||
<div>
|
||||
<div className="mb-2">{this.siteName()}</div>
|
||||
|
|
Loading…
Reference in a new issue