mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-28 03:13:14 +00:00
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:
parent
ef28f3c4d9
commit
d412baf758
|
@ -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 && (
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -113,7 +113,7 @@ export class RegistrationApplications extends Component<
|
|||
|
||||
render() {
|
||||
return (
|
||||
<div className="container">
|
||||
<div className="container-lg">
|
||||
{this.state.loading ? (
|
||||
<h5>
|
||||
<Spinner large />
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -204,7 +204,7 @@ export class Settings extends Component<any, SettingsState> {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<div className="container">
|
||||
<div className="container-lg">
|
||||
<>
|
||||
<HtmlTags
|
||||
title={this.documentTitle}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue