Skip to content

Commit

Permalink
fix: keep size of modal when a new password is introduced on the inpu…
Browse files Browse the repository at this point in the history
…t field (Greenstand#706)

Co-authored-by: Nick Charlton <[email protected]>
  • Loading branch information
andres039 and nmcharlton authored Jun 28, 2022
1 parent 38fa24f commit 1f8c84d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
24 changes: 0 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/components/PasswordStrengthMeter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { withStyles } from '@material-ui/core/styles';
import LinearProgress from '@material-ui/core/LinearProgress';
import Typography from '@material-ui/core/Typography';
import classNames from 'classnames';
import { Box } from '@material-ui/core';

const styles = (theme) => ({
alert: {
Expand Down Expand Up @@ -34,7 +35,7 @@ const PasswordStrengthMeter = (props) => {
};

return (
<>
<Box>
{password && (
<>
<LinearProgress
Expand All @@ -47,7 +48,7 @@ const PasswordStrengthMeter = (props) => {
</Typography>
</>
)}
</>
</Box>
);
};

Expand Down

0 comments on commit 1f8c84d

Please sign in to comment.