Fix layout on user pages

This commit is contained in:
Andrew Nicolaou 2019-06-04 14:57:48 +02:00 committed by Cassie Tarakajian
parent 1f95718f58
commit eb4846c3c2
5 changed files with 112 additions and 102 deletions

View file

@ -65,7 +65,8 @@ class EmailVerificationView extends React.Component {
}
return (
<div className="form-container user">
<div className="user">
<div className="form-container">
<Helmet>
<title>p5.js Web Editor | Email Verification</title>
</Helmet>
@ -82,6 +83,7 @@ class EmailVerificationView extends React.Component {
{status}
</div>
</div>
</div>
);
}
}

View file

@ -34,7 +34,8 @@ class LoginView extends React.Component {
return null;
}
return (
<div className="form-container user">
<div className="user">
<div className="form-container">
<Helmet>
<title>p5.js Web Editor | Login</title>
</Helmet>
@ -62,6 +63,7 @@ class LoginView extends React.Component {
</p>
</div>
</div>
</div>
);
}
}

View file

@ -35,6 +35,7 @@ class NewPasswordView extends React.Component {
'user': true
});
return (
<div className="user">
<div className={newPasswordClass}>
<Helmet>
<title>p5.js Web Editor | New Password</title>
@ -55,6 +56,7 @@ class NewPasswordView extends React.Component {
</p>
</div>
</div>
</div>
);
}
}

View file

@ -34,6 +34,7 @@ class ResetPasswordView extends React.Component {
'user': true
});
return (
<div className="user">
<div className={resetPasswordClass}>
<Helmet>
<title>p5.js Web Editor | Reset Password</title>
@ -60,6 +61,7 @@ class ResetPasswordView extends React.Component {
</p>
</div>
</div>
</div>
);
}
}

View file

@ -34,7 +34,8 @@ class SignupView extends React.Component {
return null;
}
return (
<div className="form-container user">
<div className="user">
<div className="form-container">
<Helmet>
<title>p5.js Web Editor | Signup</title>
</Helmet>
@ -55,6 +56,7 @@ class SignupView extends React.Component {
</p>
</div>
</div>
</div>
);
}
}