0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

fixes input group btn height (#23810)

This commit is contained in:
Andres Galante 2017-10-02 10:13:09 -07:00 committed by Mark Otto
parent acf76a4513
commit 2430151865

View File

@ -5,7 +5,7 @@
.input-group { .input-group {
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: stretch;
width: 100%; width: 100%;
.form-control { .form-control {
@ -29,6 +29,8 @@
.input-group-addon, .input-group-addon,
.input-group-btn, .input-group-btn,
.input-group .form-control { .input-group .form-control {
display: flex;
align-items: center;
&:not(:first-child):not(:last-child) { &:not(:first-child):not(:last-child) {
@include border-radius(0); @include border-radius(0);
} }
@ -132,6 +134,7 @@
.input-group-btn { .input-group-btn {
position: relative; position: relative;
align-items: stretch;
// Jankily prevent input button groups from wrapping with `white-space` and // Jankily prevent input button groups from wrapping with `white-space` and
// `font-size` in combination with `inline-block` on buttons. // `font-size` in combination with `inline-block` on buttons.
font-size: 0; font-size: 0;