2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03: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
+1
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),