Fix login screen style (#9611)
This commit is contained in:
parent
55921e4888
commit
5c60211d76
4 changed files with 29 additions and 10 deletions
|
@ -481,7 +481,7 @@ export default class ForgotPassword extends React.Component<Props, State> {
|
|||
return (
|
||||
<AuthPage>
|
||||
<AuthHeader />
|
||||
<AuthBody>
|
||||
<AuthBody className="mx_AuthBody_forgot-password">
|
||||
{ resetPasswordJsx }
|
||||
</AuthBody>
|
||||
</AuthPage>
|
||||
|
|
|
@ -18,11 +18,12 @@ import classNames from "classnames";
|
|||
import React, { PropsWithChildren } from 'react';
|
||||
|
||||
interface Props {
|
||||
className?: string;
|
||||
flex?: boolean;
|
||||
}
|
||||
|
||||
export default function AuthBody({ flex, children }: PropsWithChildren<Props>) {
|
||||
return <main className={classNames("mx_AuthBody", { "mx_AuthBody_flex": flex })}>
|
||||
export default function AuthBody({ flex, className, children }: PropsWithChildren<Props>) {
|
||||
return <main className={classNames("mx_AuthBody", className, { "mx_AuthBody_flex": flex })}>
|
||||
{ children }
|
||||
</main>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue