Skip to content

Commit

Permalink
Increase input group margin on bottom and vertically center to match …
Browse files Browse the repository at this point in the history
…inputs
  • Loading branch information
mdo committed Jan 12, 2013
1 parent 56a2402 commit 767a293
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/assets/css/bootstrap.css
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion less/forms.less
Expand Up @@ -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

Expand Down

0 comments on commit 767a293

Please sign in to comment.