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:
parent
56a24027c3
commit
767a293b4d
2 changed files with 4 additions and 2 deletions
3
docs/assets/css/bootstrap.css
vendored
3
docs/assets/css/bootstrap.css
vendored
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue