resolved component alignment of signup

This commit is contained in:
Sheen Capadngan
2023-05-06 19:26:42 +08:00
parent 3e19e6fd99
commit ea86e59d4f
3 changed files with 5 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ export default function DonwloadBackupPDFStep({
const { t } = useTranslation();
return (
<div className="bg-bunker flex flex-col items-center w-full max-w-xs md:max-w-lg h-7/12 py-8 px-4 md:px-6 mx-1 mb-36 md:mb-16 rounded-xl drop-shadow-xl">
<div className="bg-bunker flex flex-col items-center w-full max-w-xs md:max-w-lg h-7/12 py-8 px-4 md:px-6 mx-auto mb-36 md:mb-16 rounded-xl drop-shadow-xl">
<p className="text-4xl text-center font-semibold flex justify-center text-primary">
{t('signup:step4-message')}
</p>
@@ -50,8 +50,8 @@ export default function DonwloadBackupPDFStep({
email,
password,
personalName: name,
setBackupKeyError: () => {},
setBackupKeyIssued: () => {}
setBackupKeyError: () => { },
setBackupKeyIssued: () => { }
});
incrementStep();
}}

View File

@@ -56,7 +56,7 @@ export default function EnterEmailStep({
return (
<div>
<div className="bg-bunker w-full max-w-md h-7/12 py-8 md:px-6 mx-1 rounded-xl drop-shadow-xl">
<div className="bg-bunker w-full max-w-md h-7/12 py-8 md:px-6 mx-auto rounded-xl drop-shadow-xl">
<p className="text-4xl font-semibold flex justify-center text-primary">
{t('signup:step1-start')}
</p>

View File

@@ -145,7 +145,7 @@ export default function SignUp() {
}
return (
<div className="bg-bunker-800 h-screen flex flex-col justify-start px-6 ">
<div className="bg-bunker-800 min-h-screen flex flex-col justify-start px-6 ">
<Head>
<title>{t('common:head-title', { title: t('signup:title') })}</title>
<link rel="icon" href="/infisical.ico" />