Change for container divs to container-lg (#813)

* Change for container divs to container-lg

* Apply container-lg to footer.tsx
This commit is contained in:
umamawme 2022-10-03 21:16:36 +03:00 committed by GitHub
parent ef28f3c4d9
commit d412baf758
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 25 additions and 25 deletions

View file

@ -16,7 +16,7 @@ export class Footer extends Component<FooterProps, any> {
render() { render() {
return ( return (
<nav className="container navbar navbar-expand-md navbar-light navbar-bg p-3"> <nav className="container-lg navbar navbar-expand-md navbar-light navbar-bg p-3">
<div className="navbar-collapse"> <div className="navbar-collapse">
<ul className="navbar-nav ml-auto"> <ul className="navbar-nav ml-auto">
{this.props.site.version !== VERSION && ( {this.props.site.version !== VERSION && (

View file

@ -146,7 +146,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
navbar() { navbar() {
return ( return (
<nav className="navbar navbar-expand-md navbar-light shadow-sm p-0 px-3"> <nav className="navbar navbar-expand-md navbar-light shadow-sm p-0 px-3">
<div className="container"> <div className="container-lg">
{this.props.siteRes.site_view.match({ {this.props.siteRes.site_view.match({
some: siteView => ( some: siteView => (
<NavLink <NavLink

View file

@ -13,7 +13,7 @@ export class NoMatch extends Component<any, any> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<h1>404</h1> <h1>404</h1>
{this.errCode && ( {this.errCode && (
<h3> <h3>

View file

@ -117,7 +117,7 @@ export class Communities extends Component<any, CommunitiesState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -283,7 +283,7 @@ export class Community extends Component<any, State> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
{this.state.communityLoading ? ( {this.state.communityLoading ? (
<h5> <h5>
<Spinner large /> <Spinner large />

View file

@ -56,7 +56,7 @@ export class CreateCommunity extends Component<any, CreateCommunityState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -104,7 +104,7 @@ export class AdminSettings extends Component<any, AdminSettingsState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
{this.state.loading ? ( {this.state.loading ? (
<h5> <h5>
<Spinner large /> <Spinner large />

View file

@ -322,7 +322,7 @@ export class Home extends Component<any, HomeState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -30,7 +30,7 @@ export class Instances extends Component<any, InstancesState> {
render() { render() {
return this.state.siteRes.federated_instances.match({ return this.state.siteRes.federated_instances.match({
some: federated_instances => ( some: federated_instances => (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -26,7 +26,7 @@ export class Legal extends Component<any, LegalState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -81,7 +81,7 @@ export class Login extends Component<any, State> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -67,7 +67,7 @@ export class Setup extends Component<any, State> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<Helmet title={this.documentTitle} /> <Helmet title={this.documentTitle} />
<div className="row"> <div className="row">
<div className="col-12 offset-lg-3 col-lg-6"> <div className="col-12 offset-lg-3 col-lg-6">

View file

@ -127,7 +127,7 @@ export class Signup extends Component<any, State> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -640,7 +640,7 @@ export class Modlog extends Component<any, ModlogState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -171,7 +171,7 @@ export class Inbox extends Component<any, InboxState> {
.ok() .ok()
.map(a => `/feeds/inbox/${a}.xml`); .map(a => `/feeds/inbox/${a}.xml`);
return ( return (
<div className="container"> <div className="container-lg">
{this.state.loading ? ( {this.state.loading ? (
<h5> <h5>
<Spinner large /> <Spinner large />

View file

@ -66,7 +66,7 @@ export class PasswordChange extends Component<any, State> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -251,7 +251,7 @@ export class Profile extends Component<any, ProfileState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
{this.state.loading ? ( {this.state.loading ? (
<h5> <h5>
<Spinner large /> <Spinner large />

View file

@ -113,7 +113,7 @@ export class RegistrationApplications extends Component<
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
{this.state.loading ? ( {this.state.loading ? (
<h5> <h5>
<Spinner large /> <Spinner large />

View file

@ -165,7 +165,7 @@ export class Reports extends Component<any, ReportsState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
{this.state.loading ? ( {this.state.loading ? (
<h5> <h5>
<Spinner large /> <Spinner large />

View file

@ -204,7 +204,7 @@ export class Settings extends Component<any, SettingsState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<> <>
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}

View file

@ -66,7 +66,7 @@ export class VerifyEmail extends Component<any, State> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -127,7 +127,7 @@ export class CreatePost extends Component<any, CreatePostState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -345,7 +345,7 @@ export class Post extends Component<any, PostState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
{this.state.loading ? ( {this.state.loading ? (
<h5> <h5>
<Spinner large /> <Spinner large />

View file

@ -119,7 +119,7 @@ export class CreatePrivateMessage extends Component<
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}

View file

@ -390,7 +390,7 @@ export class Search extends Component<any, SearchState> {
render() { render() {
return ( return (
<div className="container"> <div className="container-lg">
<HtmlTags <HtmlTags
title={this.documentTitle} title={this.documentTitle}
path={this.context.router.route.match.url} path={this.context.router.route.match.url}