Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive behaviour breaks #29

Closed
andreasvirkus opened this issue Dec 17, 2018 · 0 comments
Closed

Responsive behaviour breaks #29

andreasvirkus opened this issue Dec 17, 2018 · 0 comments

Comments

@andreasvirkus
Copy link

andreasvirkus commented Dec 17, 2018

Expected Behavior

On narrower containers (and viewports), the strength meter should fluidly resize (become smaller in width by keeping its 5 evenly sized sections).

Actual Behavior

Meter's mid block is the only part that goes narrower and after X width actually becomes wider again, eating away at other blocks.

How to reproduce

Go to this plugin's demo page, slap a

<meta name="viewport" content="width=device-width,initial-scale=1.0">

into the document's head and then resize the viewport or restrict the parent via CSS:

#app {
  max-width: 22rem;
}

Environment

  • OS: OSX (although doubt it's OS-related)
  • NPM version: Should not matter
  • vue.js version: 2.5.16
  • vue-password-strength-meter version: 1.3.2
Chocanto added a commit to Chocanto/vue-password-strength-meter that referenced this issue Jan 6, 2019
apertureless pushed a commit that referenced this issue Jan 7, 2019
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants