From 243015186530020ca27e93a5f52076e34825ebe8 Mon Sep 17 00:00:00 2001 From: Andres Galante Date: Mon, 2 Oct 2017 10:13:09 -0700 Subject: [PATCH] fixes input group btn height (#23810) --- scss/_input-group.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;