1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

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

This commit is contained in:
Mark Otto 2013-01-11 20:46:21 -08:00
parent 56a24027c3
commit 767a293b4d
2 changed files with 4 additions and 2 deletions

View file

@ -1647,9 +1647,10 @@ select:focus:invalid:focus {
.input-append, .input-append,
.input-prepend { .input-prepend {
display: inline-block; display: inline-block;
margin-bottom: 5px; margin-bottom: 10px;
font-size: 0; font-size: 0;
white-space: nowrap; white-space: nowrap;
vertical-align: middle;
} }
.input-append input, .input-append input,

View file

@ -423,7 +423,8 @@ select:focus:invalid {
.input-append, .input-append,
.input-prepend { .input-prepend {
display: inline-block; display: inline-block;
margin-bottom: 5px; margin-bottom: @baseLineHeight / 2;
vertical-align: middle;
font-size: 0; // white space collapse hack font-size: 0; // white space collapse hack
white-space: nowrap; // Prevent span and input from separating white-space: nowrap; // Prevent span and input from separating