Merge pull request #122 from sensebox/update-login-button

Update login Button
This commit is contained in:
Mario Pesch 2021-10-17 17:51:26 +02:00 committed by GitHub
commit a23f504eec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,7 @@ export class Login extends Component {
type={this.state.type} type={this.state.type}
key={this.state.key} key={this.state.key}
/> />
<form onSubmit={this.onSubmit}>
<TextField <TextField
style={{ marginBottom: "10px" }} style={{ marginBottom: "10px" }}
// variant='outlined' // variant='outlined'
@ -163,7 +164,7 @@ export class Login extends Component {
<Button <Button
color="primary" color="primary"
variant="contained" variant="contained"
onClick={this.onSubmit} type="submit"
style={{ width: "100%" }} style={{ width: "100%" }}
> >
{this.props.progress ? ( {this.props.progress ? (
@ -175,6 +176,7 @@ export class Login extends Component {
)} )}
</Button> </Button>
</p> </p>
</form>
<p style={{ textAlign: "center", fontSize: "0.8rem" }}> <p style={{ textAlign: "center", fontSize: "0.8rem" }}>
<Link <Link
rel="noreferrer" rel="noreferrer"