Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2012-11-30 11:32:38 +0400
committerMark Otto <markdotto@gmail.com>2012-11-30 11:32:38 +0400
commitfe7b6decb17786c2cd1ce80205d06ad7a3f8ba0e (patch)
tree840c9dad3663d19fbfd8e718927e4edcab7aeeea
parent322a56354fdc576492769c631cb7af51edcb7a68 (diff)
parentddd154481bc9341668f236ca071c936803e43f7a (diff)
Merge pull request #6039 from desheikh/2.2.2-wip
help-block margin-top should also apply after a span.uneditable-input
-rw-r--r--docs/assets/css/bootstrap.css3
-rw-r--r--less/forms.less3
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index e6003ee147..79a7a1520d 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -1957,7 +1957,8 @@ legend + .control-group {
.form-horizontal input + .help-block,
.form-horizontal select + .help-block,
-.form-horizontal textarea + .help-block {
+.form-horizontal textarea + .help-block,
+.form-horizontal span.uneditable-input + .help-block {
margin-top: 10px;
}
diff --git a/less/forms.less b/less/forms.less
index 172ed027dc..4e76173654 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -672,7 +672,8 @@ legend + .control-group {
// And apply it only to .help-block instances that follow a form control
input,
select,
- textarea {
+ textarea,
+ span.uneditable-input {
+ .help-block {
margin-top: @baseLineHeight / 2;
}