consitent top padding settings, profiles, satistics

This commit is contained in:
keyan 2024-03-28 17:09:57 -05:00
parent b577a4f4af
commit 43ebb44866
2 changed files with 5 additions and 5 deletions

View File

@ -191,7 +191,7 @@ export default function Satistics ({ ssrData }) {
return ( return (
<Layout> <Layout>
<div className='mt-3'> <div className='mt-2'>
<h2 className='text-center'>satistics</h2> <h2 className='text-center'>satistics</h2>
<Form <Form
initial={{ initial={{

View File

@ -2,7 +2,7 @@ import { Checkbox, Form, Input, SubmitButton, Select, VariableInput, CopyInput }
import Alert from 'react-bootstrap/Alert' import Alert from 'react-bootstrap/Alert'
import Button from 'react-bootstrap/Button' import Button from 'react-bootstrap/Button'
import InputGroup from 'react-bootstrap/InputGroup' import InputGroup from 'react-bootstrap/InputGroup'
import { CenterLayout } from '@/components/layout' import Layout from '@/components/layout'
import { useState, useMemo } from 'react' import { useState, useMemo } from 'react'
import { gql, useMutation, useQuery } from '@apollo/client' import { gql, useMutation, useQuery } from '@apollo/client'
import { getGetServerSideProps } from '@/api/ssrApollo' import { getGetServerSideProps } from '@/api/ssrApollo'
@ -59,8 +59,8 @@ export default function Settings ({ ssrData }) {
if (!data && !ssrData) return <PageLoading /> if (!data && !ssrData) return <PageLoading />
return ( return (
<CenterLayout> <Layout>
<div className='py-3 w-100'> <div className='pb-3 w-100 mt-2' style={{ maxWidth: '600px' }}>
<h2 className='mb-2 text-start'>settings</h2> <h2 className='mb-2 text-start'>settings</h2>
<Form <Form
initial={{ initial={{
@ -495,7 +495,7 @@ export default function Settings ({ ssrData }) {
{settings?.authMethods && <AuthMethods methods={settings.authMethods} apiKeyEnabled={settings.apiKeyEnabled} />} {settings?.authMethods && <AuthMethods methods={settings.authMethods} apiKeyEnabled={settings.apiKeyEnabled} />}
</div> </div>
</div> </div>
</CenterLayout> </Layout>
) )
} }