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 line height #21805

Merged
merged 2 commits into from
Jan 21, 2017
Merged

Progress line height #21805

merged 2 commits into from
Jan 21, 2017

Conversation

mdo
Copy link
Member

@mdo mdo commented Jan 21, 2017

Proper fix for #21801.

Can't use flex options for this since inner text of an element doesn't count as a flex item. Using the line-height and height match is the same approach from v3 and should suffice for most folks.

mdo added 2 commits January 21, 2017 12:13
- ensures .progress-bar text is vertically centered should the height of the .progress-bar change by matching the line-height and height values
- we can't use flexbox here because the inner text of an element doesn't count as a flex item
@mdo mdo added this to the v4.0.0-beta milestone Jan 21, 2017
@mdo mdo merged commit eb361fa into v4-dev Jan 21, 2017
@mdo mdo deleted the progress-line-height branch January 21, 2017 20:32
@mdo mdo mentioned this pull request Jan 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant