Skip to content

Commit

Permalink
fix change password button styling
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonkeating committed May 25, 2021
1 parent 6e40c0c commit b76645f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions common/components/controllers/ChangePasswordController.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import DjangoCSRFToken from "django-react-csrftoken";
import React from "react";
import Button from "react-bootstrap/Button";
import type { Validator } from "../forms/FormValidation.jsx";
import FormValidation from "../forms/FormValidation.jsx";
import url from "../utils/url.js";
Expand Down Expand Up @@ -100,13 +101,14 @@ class ChangePasswordController extends React.Component<{||}, State> {
formState={this.state}
/>

<button
<Button
variant="login"
className="LogInController-signInButton"
disabled={!this.state.isValid}
type="submit"
>
Change Password
</button>
</Button>
</form>
</div>
);
Expand Down

0 comments on commit b76645f

Please sign in to comment.