Replace divs with mains
This commit is contained in:
parent
8b1e92d57a
commit
538e4a5181
3 changed files with 6 additions and 6 deletions
|
@ -112,13 +112,13 @@ export class Instances extends Component<any, InstancesState> {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<div className="home-instances container-flex row mx-1 mx-md-4">
|
||||
<main className="home-instances container-flex row mx-1 mx-md-4">
|
||||
<HtmlTags
|
||||
title={this.documentTitle}
|
||||
path={this.context.router.route.match.url}
|
||||
/>
|
||||
{this.renderInstances()}
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ export class Legal extends Component<any, LegalState> {
|
|||
render() {
|
||||
const legal = this.state.siteRes.site_view.local_site.legal_information;
|
||||
return (
|
||||
<div className="legal container-flex mx-1 mx-md-4">
|
||||
<main className="legal container-flex mx-1 mx-md-4">
|
||||
<HtmlTags
|
||||
title={this.documentTitle}
|
||||
path={this.context.router.route.match.url}
|
||||
|
@ -34,7 +34,7 @@ export class Legal extends Component<any, LegalState> {
|
|||
{legal && (
|
||||
<div className="md-div" dangerouslySetInnerHTML={mdToHtml(legal)} />
|
||||
)}
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ export class PasswordChange extends Component<any, State> {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<div className="password-change container-flex row mx-1 mx-md-4">
|
||||
<main className="password-change container-flex row mx-1 mx-md-4">
|
||||
<HtmlTags
|
||||
title={this.documentTitle}
|
||||
path={this.context.router.route.match.url}
|
||||
|
@ -49,7 +49,7 @@ export class PasswordChange extends Component<any, State> {
|
|||
<h5>{I18NextService.i18n.t("password_change")}</h5>
|
||||
{this.passwordChangeForm()}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue