1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05: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 {
position: relative;
display: flex;
align-items: center;
align-items: stretch;
width: 100%;
.form-control {
@ -29,6 +29,8 @@
.input-group-addon,
.input-group-btn,
.input-group .form-control {
display: flex;
align-items: center;
&:not(:first-child):not(:last-child) {
@include border-radius(0);
}
@ -132,6 +134,7 @@
.input-group-btn {
position: relative;
align-items: stretch;
// Jankily prevent input button groups from wrapping with `white-space` and
// `font-size` in combination with `inline-block` on buttons.
font-size: 0;