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:
parent
4449167f44
commit
b350e60e82
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue