Skip to content

Commit 6ced855

Browse files
Chocantoapertureless
authored andcommitted
fix(strength-meter): Fix responsive behaviour breaks (#29) (#30)
## 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
1 parent 7b185a9 commit 6ced855

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/PasswordStrengthMeter.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,16 +359,16 @@
359359
border-style: solid;
360360
border-width: 0 5px 0 5px;
361361
position: absolute;
362-
width: 80px;
362+
width: 20%;
363363
z-index: 10;
364364
}
365365
366366
.Password__strength-meter:before {
367-
left: 70px;
367+
left: 20%;
368368
}
369369
370370
.Password__strength-meter:after {
371-
right: 70px;
371+
right: 20%;
372372
}
373373
374374
.Password__strength-meter--fill {

0 commit comments

Comments
 (0)