1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

use align-items on .form-inline to keep items from growing too much (#21461)

This commit is contained in:
Mark Otto 2016-12-28 19:08:33 -08:00 committed by GitHub
parent 4449167f44
commit b350e60e82

View file

@ -298,6 +298,7 @@ select.form-control-lg {
.form-inline {
display: flex;
flex-flow: row wrap;
align-items: center; // Prevent shorter elements from growing to same height as others (e.g., small buttons growing to normal sized button height)
// Because we use flex, the initial sizing of checkboxes is collapsed and
// doesn't occupy the full-width (which is what we want for xs grid tier),