Skip to content

Commit

Permalink
fix(strength-meter): Fix responsive behaviour breaks (#29) (#30)
Browse files Browse the repository at this point in the history
## Description

Currently the password strength meter is not responsive due to fixed px sizes. This PR convert those pixel width to use percent.

## Fix or Feature?

Fix

### Environment
- OS: Windows
- NPM Version: 1.3.2
  • Loading branch information
Chocanto authored and apertureless committed Jan 7, 2019
1 parent 7b185a9 commit 6ced855
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/PasswordStrengthMeter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -359,16 +359,16 @@
border-style: solid;
border-width: 0 5px 0 5px;
position: absolute;
width: 80px;
width: 20%;
z-index: 10;
}
.Password__strength-meter:before {
left: 70px;
left: 20%;
}
.Password__strength-meter:after {
right: 70px;
right: 20%;
}
.Password__strength-meter--fill {
Expand Down

0 comments on commit 6ced855

Please sign in to comment.