Skip to content

Commit

Permalink
Apply align-items: center; to .input-group instead of input group…
Browse files Browse the repository at this point in the history
… sub components, causes `.input-group .form-control` and `.input-group-addon` to be large when next to a tall element
  • Loading branch information
pat270 authored and mdo committed Aug 13, 2017
1 parent 9a03d7e commit 02ae73f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scss/_input-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.input-group {
position: relative;
display: flex;
align-items: center;
width: 100%;

.form-control {
Expand All @@ -28,10 +29,6 @@
.input-group-addon,
.input-group-btn,
.input-group .form-control {
// Vertically centers the content of the addons within the input group
display: flex;
align-items: center;

&:not(:first-child):not(:last-child) {
@include border-radius(0);
}
Expand Down

0 comments on commit 02ae73f

Please sign in to comment.