mirror of
https://github.com/wassname/talk.git
synced 2026-07-28 11:27:05 +08:00
Also add AutoHeightContainer to the password forms
This commit is contained in:
@@ -19,6 +19,8 @@ import {
|
||||
ValidationMessage,
|
||||
} from "talk-ui/components";
|
||||
|
||||
import AutoHeightContainer from "../containers/AutoHeightContainer";
|
||||
|
||||
interface FormProps {
|
||||
email: string;
|
||||
}
|
||||
@@ -32,6 +34,7 @@ const ForgotPassword: StatelessComponent<ForgotPasswordForm> = props => {
|
||||
<Form onSubmit={props.onSubmit}>
|
||||
{({ handleSubmit }) => (
|
||||
<form autoComplete="off" onSubmit={handleSubmit}>
|
||||
<AutoHeightContainer />
|
||||
<Flex itemGutter="double" direction="column" className={styles.root}>
|
||||
<Typography variant="heading1" align="center">
|
||||
Forgot Password
|
||||
|
||||
@@ -21,6 +21,8 @@ import {
|
||||
ValidationMessage,
|
||||
} from "talk-ui/components";
|
||||
|
||||
import AutoHeightContainer from "../containers/AutoHeightContainer";
|
||||
|
||||
interface FormProps {
|
||||
password: string;
|
||||
confirmPassword: string;
|
||||
@@ -35,6 +37,7 @@ const ResetPassword: StatelessComponent<ResetPasswordForm> = props => {
|
||||
<Form onSubmit={props.onSubmit}>
|
||||
{({ handleSubmit }) => (
|
||||
<form autoComplete="off" onSubmit={handleSubmit}>
|
||||
<AutoHeightContainer />
|
||||
<Flex itemGutter="double" direction="column" className={styles.root}>
|
||||
<Typography variant="heading1" align="center">
|
||||
Reset Password
|
||||
|
||||
Reference in New Issue
Block a user