Fix login screen style (#9611)

This commit is contained in:
Michael Weimann 2022-11-25 08:49:11 +01:00 committed by GitHub
parent 55921e4888
commit 5c60211d76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 10 deletions

View file

@ -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>;
}