From b2d36371f05fa4cefda3eaa9c906fd7122f919fe Mon Sep 17 00:00:00 2001 From: James D'Alton <jda1g15@soton.ac.uk> Date: Tue, 12 May 2020 14:52:22 +0100 Subject: [PATCH] Minor adjustments to buttons and layout --- compforge/src/Components/Login.react.jsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compforge/src/Components/Login.react.jsx b/compforge/src/Components/Login.react.jsx index 8ced63bd..eca28619 100644 --- a/compforge/src/Components/Login.react.jsx +++ b/compforge/src/Components/Login.react.jsx @@ -129,6 +129,11 @@ const Login = (props) => { <Button variant="outlined" size='small' style={{ fontSize: 10 }} color="primary" > <Link to={'/signup'}>Sign up</Link> </Button> </Typography> + <Typography component="p" className={classes.password}> + <span style={{ marginRight: 6 }}>Forgotten password? </span> + <Button variant="outlined" size='small' style={{ fontSize: 10 }} color="primary" onClick={() => { setShowModal(true); }} > Reset </Button> + </Typography> + <Button type="button" fullWidth @@ -140,11 +145,6 @@ const Login = (props) => { Sign In </Button> - <Typography component="p" className={classes.password}> - <span style={{ marginRight: 6 }}>Request password reset </span> - <Button variant="outlined" size='small' style={{ fontSize: 10 }} color="primary" onClick={() => { setShowModal(true); }} > here </Button> - </Typography> - <Drawer anchor={'top'} open={Boolean(showModal)} onClose={() => setShowModal('false')}> <Container component="main" maxWidth="md"> -- GitLab