Skip to content

Commit c9e007a

Browse files
committed
fix: login flow ui tweaks
Signed-off-by: romanetar <roman_ag@hotmail.com>
1 parent 92b425c commit c9e007a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

resources/js/components/custom_snackbar.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ function Alert(props) {
88

99
const CustomSnackbar = ({ message, severity = 'info', onClose }) => {
1010
return (
11-
<Snackbar open={message !== null} autoHideDuration={8000} onClose={onClose}>
11+
<Snackbar
12+
open={message !== null}
13+
autoHideDuration={8000}
14+
onClose={onClose}
15+
anchorOrigin={{ vertical: 'top', horizontal: 'center' }}>
1216
<Alert onClose={onClose} severity={severity}>
1317
{message}
1418
</Alert>

resources/js/login/login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ class LoginPage extends React.Component {
608608
resendVerificationEmail(user_name, this.props.token).then((payload) => {
609609
this.showAlert(
610610
'We\'ve sent you a verification email. Please check your inbox and click the link to verify your account.',
611-
'info');
611+
'success');
612612
}, (error) => {
613613
let {response, status} = error;
614614
if(status === 412){

0 commit comments

Comments
 (0)