From: Andres Galante Date: Mon, 2 Oct 2017 17:13:09 +0000 (-0700) Subject: fixes input group btn height (#23810) X-Git-Tag: v4.0.0-beta.2~159 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=243015186530020ca27e93a5f52076e34825ebe8;p=thirdparty%2Fbootstrap.git fixes input group btn height (#23810) --- diff --git a/scss/_input-group.scss b/scss/_input-group.scss index b8e2bbe194..48229e4e8e 100644 --- a/scss/_input-group.scss +++ b/scss/_input-group.scss @@ -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;