Skip to content
Browse files

Increase input group margin on bottom and vertically center to match …

…inputs
  • Loading branch information...
1 parent 56a2402 commit 767a293b4d7a1221a6c859fa24a38b724d564ba6 @mdo mdo committed
Showing with 4 additions and 2 deletions.
  1. +2 −1 docs/assets/css/bootstrap.css
  2. +2 −1 less/forms.less
View
3 docs/assets/css/bootstrap.css
@@ -1647,9 +1647,10 @@ select:focus:invalid:focus {
.input-append,
.input-prepend {
display: inline-block;
- margin-bottom: 5px;
+ margin-bottom: 10px;
font-size: 0;
white-space: nowrap;
+ vertical-align: middle;
}
.input-append input,
View
3 less/forms.less
@@ -423,7 +423,8 @@ select:focus:invalid {
.input-append,
.input-prepend {
display: inline-block;
- margin-bottom: 5px;
+ margin-bottom: @baseLineHeight / 2;
+ vertical-align: middle;
font-size: 0; // white space collapse hack
white-space: nowrap; // Prevent span and input from separating

0 comments on commit 767a293

Please sign in to comment.
Something went wrong with that request. Please try again.