From 701f871e7db41a8c427b84fb045f89d1656f758d Mon Sep 17 00:00:00 2001 From: Zulfiqar Ali Date: Tue, 27 Nov 2012 07:30:54 +0800 Subject: [PATCH 1/3] help-block margin-top should also apply after a span.input --- less/forms.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/less/forms.less b/less/forms.less index 172ed027dc..6a8edfb676 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.input { + .help-block { margin-top: @baseLineHeight / 2; } From 693fd0db2a91ce6c8bc5ac354a6c8d97552013b7 Mon Sep 17 00:00:00 2001 From: Zulfiqar Ali Date: Wed, 28 Nov 2012 16:47:59 +0800 Subject: [PATCH 2/3] help-block margin-top should also apply after a span.uneditable-input --- less/forms.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/less/forms.less b/less/forms.less index 6a8edfb676..4e76173654 100644 --- a/less/forms.less +++ b/less/forms.less @@ -673,7 +673,7 @@ legend + .control-group { input, select, textarea, - span.input { + span.uneditable-input { + .help-block { margin-top: @baseLineHeight / 2; } From ddd154481bc9341668f236ca071c936803e43f7a Mon Sep 17 00:00:00 2001 From: Zulfiqar Ali Date: Thu, 29 Nov 2012 17:40:23 +0800 Subject: [PATCH 3/3] added compiled css file --- docs/assets/css/bootstrap.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 2da34b4add..30b4407378 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; }