Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

style: change uses pages style

shuai64f2fc70cd59
diff --git a/ui/src/pages/Users/AccountForgot/index.tsx b/ui/src/pages/Users/AccountForgot/index.tsx
index 9ec0d4a7..37d6f789 100644
--- a/ui/src/pages/Users/AccountForgot/index.tsx
+++ b/ui/src/pages/Users/AccountForgot/index.tsx
@@ -22,7 +22,7 @@ const Index: React.FC = () => {
<Container style={{ paddingTop: '4rem', paddingBottom: '6rem' }}>
<h3 className="text-center mb-5">{t('page_title')}</h3>
{step === 1 && (
- <Col className="mx-auto" md={3}>
+ <Col className="mx-auto" md={6} lg={4} xl={3}>
<SendEmail visible={step === 1} callback={callback} />
</Col>
)}
diff --git a/ui/src/pages/Users/ChangeEmail/index.tsx b/ui/src/pages/Users/ChangeEmail/index.tsx
index 16235db4..b86f580c 100644
--- a/ui/src/pages/Users/ChangeEmail/index.tsx
+++ b/ui/src/pages/Users/ChangeEmail/index.tsx
@@ -15,7 +15,7 @@ const Index: FC = () => {
return (
<Container style={{ paddingTop: '4rem', paddingBottom: '6rem' }}>
<WelcomeTitle />
- <Col className="mx-auto" md={3}>
+ <Col className="mx-auto" md={6} lg={4} xl={3}>
<SendEmail />
</Col>
</Container>
diff --git a/ui/src/pages/Users/Login/index.tsx b/ui/src/pages/Users/Login/index.tsx
index 778ec669..9776cb66 100644
--- a/ui/src/pages/Users/Login/index.tsx
+++ b/ui/src/pages/Users/Login/index.tsx
@@ -176,7 +176,7 @@ const Index: React.FC = () => {
<Container style={{ paddingTop: '4rem', paddingBottom: '5rem' }}>
<WelcomeTitle />
{step === 1 && canOriginalLogin ? (
- <Col className="mx-auto" md={3}>
+ <Col className="mx-auto" md={6} lg={4} xl={3}>
{ucAgentInfo ? (
<PluginUcLogin className="mb-5" />
) : (
diff --git a/ui/src/pages/Users/PasswordReset/index.tsx b/ui/src/pages/Users/PasswordReset/index.tsx
index 704e367f..3e975937 100644
--- a/ui/src/pages/Users/PasswordReset/index.tsx
+++ b/ui/src/pages/Users/PasswordReset/index.tsx
@@ -119,7 +119,7 @@ const Index: React.FC = () => {
<Container style={{ paddingTop: '4rem', paddingBottom: '6rem' }}>
<h3 className="text-center mb-5">{t('page_title')}</h3>
{step === 1 && (
- <Col className="mx-auto" md={3}>
+ <Col className="mx-auto" md={6} lg={4} xl={3}>
<Form noValidate onSubmit={handleSubmit} autoComplete="off">
<Form.Group controlId="email" className="mb-3">
<Form.Label>{t('password.label')}</Form.Label>
diff --git a/ui/src/pages/Users/Register/index.tsx b/ui/src/pages/Users/Register/index.tsx
index 5839ed11..d102d71a 100644
--- a/ui/src/pages/Users/Register/index.tsx
+++ b/ui/src/pages/Users/Register/index.tsx
@@ -26,7 +26,7 @@ const Index: React.FC = () => {
<WelcomeTitle />
{showForm ? (
- <Col className="mx-auto" md={3}>
+ <Col className="mx-auto" md={6} lg={4} xl={3}>
<PluginOauth className="mb-5" />
<SignUpForm callback={onStep} />
</Col>