diff options
| author | Andres Galante <[email protected]> | 2017-10-02 10:13:09 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-10-02 10:13:09 -0700 |
| commit | 243015186530020ca27e93a5f52076e34825ebe8 (patch) | |
| tree | 2e1623d7bec61c218086b9550813540ba7984dcf | |
| parent | acf76a451388f9c57c242f613e32a6b8fe5caa59 (diff) | |
| download | bootstrap-243015186530020ca27e93a5f52076e34825ebe8.tar.xz bootstrap-243015186530020ca27e93a5f52076e34825ebe8.zip | |
fixes input group btn height (#23810)
| -rw-r--r-- | scss/_input-group.scss | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scss/_input-group.scss b/scss/_input-group.scss index b8e2bbe19..48229e4e8 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; |
