Replace divs with mains

This commit is contained in:
SleeplessOne1917 2023-06-25 11:19:12 -04:00
parent 8b1e92d57a
commit 538e4a5181
3 changed files with 6 additions and 6 deletions

View file

@ -112,13 +112,13 @@ export class Instances extends Component<any, InstancesState> {
render() { render() {
return ( 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 <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}
/> />
{this.renderInstances()} {this.renderInstances()}
</div> </main>
); );
} }

View file

@ -26,7 +26,7 @@ export class Legal extends Component<any, LegalState> {
render() { render() {
const legal = this.state.siteRes.site_view.local_site.legal_information; const legal = this.state.siteRes.site_view.local_site.legal_information;
return ( return (
<div className="legal container-flex mx-1 mx-md-4"> <main className="legal container-flex mx-1 mx-md-4">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}
@ -34,7 +34,7 @@ export class Legal extends Component<any, LegalState> {
{legal && ( {legal && (
<div className="md-div" dangerouslySetInnerHTML={mdToHtml(legal)} /> <div className="md-div" dangerouslySetInnerHTML={mdToHtml(legal)} />
)} )}
</div> </main>
); );
} }
} }

View file

@ -40,7 +40,7 @@ export class PasswordChange extends Component<any, State> {
render() { render() {
return ( 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 <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} 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> <h5>{I18NextService.i18n.t("password_change")}</h5>
{this.passwordChangeForm()} {this.passwordChangeForm()}
</div> </div>
</div> </main>
); );
} }