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

fix segmented buttons #21716

Merged
merged 2 commits into from
Jan 21, 2017
Merged

fix segmented buttons #21716

merged 2 commits into from
Jan 21, 2017

Conversation

gijsbotje
Copy link
Contributor

@gijsbotje gijsbotje commented Jan 13, 2017

Fixes #21593 and fixes #21651.

changed flex-direction to row
centering is now done by align-items instead of justify-content

this way there is no need for flex property on the .btn inside .btn-group

changed flex-direction to row
centering is now done by align-items instead of justify-content

this way there is no need for flex property on the .btn inside .btn-group
mdo
mdo previously requested changes Jan 16, 2017
@@ -30,8 +30,8 @@
.input-group .form-control {
// Vertically centers the content of the addons within the input group
display: flex;
flex-direction: column;
justify-content: center;
flex-direction: row;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part can be dropped; it's the implicit default value of flex-direction.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right
dropped it in a new commit

@bardiharborow bardiharborow dismissed mdo’s stale review January 21, 2017 07:43

flex-direction has been dropped in a new commit.

@bardiharborow bardiharborow requested a review from mdo January 21, 2017 07:44
Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hell yeah, you da best.

@mdo mdo merged commit 12b22eb into twbs:v4-dev Jan 21, 2017
@mdo mdo mentioned this pull request Jan 21, 2017
@gijsbotje gijsbotje deleted the patch-3 branch January 22, 2017 12:37
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.

2 participants