mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-07 04:54:24 +01:00
use align-items on .form-inline to keep items from growing too much (#21461)
This commit is contained in:
parent
4449167f44
commit
b350e60e82
@ -298,6 +298,7 @@ select.form-control-lg {
|
|||||||
.form-inline {
|
.form-inline {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row wrap;
|
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
|
// 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),
|
// doesn't occupy the full-width (which is what we want for xs grid tier),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user