diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-05-07 16:22:54 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-05-07 16:22:54 +0530 |
commit | 47f8bd006edf77b1325ecb36e594eed2fa0dd26e (patch) | |
tree | 01654f0c6d864ea00d02645983c33bbd73092204 /modern/src | |
parent | 8b7e1491fa1003172e1d653ce1fd774ebee8451e (diff) | |
download | trackermap-web-47f8bd006edf77b1325ecb36e594eed2fa0dd26e.tar.gz trackermap-web-47f8bd006edf77b1325ecb36e594eed2fa0dd26e.tar.bz2 trackermap-web-47f8bd006edf77b1325ecb36e594eed2fa0dd26e.zip |
Replacing button with link for Reset Password
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/LoginPage.js | 8 | ||||
-rw-r--r-- | modern/src/theme/overrides.js | 1 |
2 files changed, 3 insertions, 6 deletions
diff --git a/modern/src/LoginPage.js b/modern/src/LoginPage.js index f029cbc3..30275e51 100644 --- a/modern/src/LoginPage.js +++ b/modern/src/LoginPage.js @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import { useDispatch } from 'react-redux'; import { useHistory } from 'react-router-dom'; import { sessionActions } from './store'; -import { Grid, useMediaQuery, makeStyles, InputLabel, Select, MenuItem, FormControl, Button, TextField, Paper } from '@material-ui/core'; +import { Grid, useMediaQuery, makeStyles, InputLabel, Select, MenuItem, FormControl, Button, TextField, Paper, Link } from '@material-ui/core'; import { useTheme } from '@material-ui/core/styles'; import RegisterDialog from './RegisterDialog'; import { useSelector } from 'react-redux'; @@ -156,11 +156,9 @@ const LoginPage = () => { </FormControl> </Grid> </Grid> - <Grid container justify="flex-end"> + <Grid item container justify="flex-end"> <Grid item> - <Button color="primary"> - {t('loginReset')} - </Button> + <Link underline="none">{t('loginReset')}</Link> </Grid> </Grid> </Grid> diff --git a/modern/src/theme/overrides.js b/modern/src/theme/overrides.js index 28ac7467..c8d64a9d 100644 --- a/modern/src/theme/overrides.js +++ b/modern/src/theme/overrides.js @@ -44,7 +44,6 @@ export default { MuiButton: { root: { height: dimensions.inputHeight, - textTransform: 'none' } } }; |