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

Progress bar doesn't handle 0% case #24538

Closed
jacroe opened this issue Oct 24, 2017 · 1 comment
Closed

Progress bar doesn't handle 0% case #24538

jacroe opened this issue Oct 24, 2017 · 1 comment

Comments

@jacroe
Copy link

jacroe commented Oct 24, 2017

This is a duplicate of #12848 but for v4. It looks like it was reintroduced.

What happens is that when it's 0%, the text is pushed off-screen and is back to sitting on the edge. Compare the same HTML with v3.3.7 (https://jsfiddle.net/pz0dj4eo/) with v4.0.0-beta.2 (https://jsfiddle.net/dy5mecan/).

This is happening on Windows with Chrome 61, Firefox 55, and Edge 38.

@gijsbotje
Copy link
Contributor

this is caused by replacing text-align: center; by justify-content: center;
a fix is switching these back again
i'll make a pr for it

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

3 participants