aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less13
1 files changed, 12 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index 5b80d6046..d0211eb14 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -266,6 +266,17 @@ textarea {
}
+// Static form control text
+//
+// Apply class to a `p` element to make any string of text align with labels in
+// a horizontal form layout.
+
+.form-control-static {
+ margin-bottom: 0; // Remove default margin from `p`
+ padding-top: @padding-base-vertical;
+}
+
+
// Help text
//
// Apply to any element you wish to create light text for placement immediately
@@ -316,7 +327,7 @@ textarea {
.form-horizontal .control-label,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
- padding-top: 9px;
+ padding-top: @padding-base-vertical;
}
.form-horizontal {