2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03: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
+2 -1
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,
+2 -1
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