0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Fixes #5853: Maintain 10px margin above help block when following input groups

This commit is contained in:
Mark Otto 2012-11-29 23:39:33 -08:00
parent f087b3428c
commit bca3ff4ed6
2 changed files with 6 additions and 2 deletions

View File

@ -1958,7 +1958,9 @@ legend + .control-group {
.form-horizontal input + .help-block, .form-horizontal input + .help-block,
.form-horizontal select + .help-block, .form-horizontal select + .help-block,
.form-horizontal textarea + .help-block, .form-horizontal textarea + .help-block,
.form-horizontal .uneditable-input + .help-block { .form-horizontal .uneditable-input + .help-block,
.form-horizontal .input-prepend + .help-block,
.form-horizontal .input-append + .help-block {
margin-top: 10px; margin-top: 10px;
} }

View File

@ -673,7 +673,9 @@ legend + .control-group {
input, input,
select, select,
textarea, textarea,
.uneditable-input { .uneditable-input,
.input-prepend,
.input-append {
+ .help-block { + .help-block {
margin-top: @baseLineHeight / 2; margin-top: @baseLineHeight / 2;
} }