Skip to content

Commit

Permalink
Change for container divs to container-lg (#813)
Browse files Browse the repository at this point in the history
* Change for container divs to container-lg

* Apply container-lg to footer.tsx
  • Loading branch information
xximj authored Oct 3, 2022
1 parent ef28f3c commit d412baf
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/shared/components/app/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class Footer extends Component<FooterProps, any> {

render() {
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">
<ul className="navbar-nav ml-auto">
{this.props.site.version !== VERSION && (
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/app/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
navbar() {
return (
<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({
some: siteView => (
<NavLink
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/app/no-match.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class NoMatch extends Component<any, any> {

render() {
return (
<div className="container">
<div className="container-lg">
<h1>404</h1>
{this.errCode && (
<h3>
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/community/communities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class Communities extends Component<any, CommunitiesState> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/community/community.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export class Community extends Component<any, State> {

render() {
return (
<div className="container">
<div className="container-lg">
{this.state.communityLoading ? (
<h5>
<Spinner large />
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/community/create-community.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class CreateCommunity extends Component<any, CreateCommunityState> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/home/admin-settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class AdminSettings extends Component<any, AdminSettingsState> {

render() {
return (
<div className="container">
<div className="container-lg">
{this.state.loading ? (
<h5>
<Spinner large />
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/home/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export class Home extends Component<any, HomeState> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/home/instances.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Instances extends Component<any, InstancesState> {
render() {
return this.state.siteRes.federated_instances.match({
some: federated_instances => (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/home/legal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class Legal extends Component<any, LegalState> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/home/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class Login extends Component<any, State> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/home/setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class Setup extends Component<any, State> {

render() {
return (
<div className="container">
<div className="container-lg">
<Helmet title={this.documentTitle} />
<div className="row">
<div className="col-12 offset-lg-3 col-lg-6">
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/home/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class Signup extends Component<any, State> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/modlog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ export class Modlog extends Component<any, ModlogState> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/person/inbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class Inbox extends Component<any, InboxState> {
.ok()
.map(a => `/feeds/inbox/${a}.xml`);
return (
<div className="container">
<div className="container-lg">
{this.state.loading ? (
<h5>
<Spinner large />
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/person/password-change.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class PasswordChange extends Component<any, State> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/person/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export class Profile extends Component<any, ProfileState> {

render() {
return (
<div className="container">
<div className="container-lg">
{this.state.loading ? (
<h5>
<Spinner large />
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/person/registration-applications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class RegistrationApplications extends Component<

render() {
return (
<div className="container">
<div className="container-lg">
{this.state.loading ? (
<h5>
<Spinner large />
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/person/reports.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class Reports extends Component<any, ReportsState> {

render() {
return (
<div className="container">
<div className="container-lg">
{this.state.loading ? (
<h5>
<Spinner large />
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/person/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export class Settings extends Component<any, SettingsState> {

render() {
return (
<div className="container">
<div className="container-lg">
<>
<HtmlTags
title={this.documentTitle}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/person/verify-email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class VerifyEmail extends Component<any, State> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/post/create-post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class CreatePost extends Component<any, CreatePostState> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/post/post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export class Post extends Component<any, PostState> {

render() {
return (
<div className="container">
<div className="container-lg">
{this.state.loading ? (
<h5>
<Spinner large />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class CreatePrivateMessage extends Component<

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export class Search extends Component<any, SearchState> {

render() {
return (
<div className="container">
<div className="container-lg">
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
Expand Down

0 comments on commit d412baf

Please sign in to comment.