aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-11 23:14:36 -0700
committerMark Otto <[email protected]>2012-03-11 23:14:36 -0700
commit5eed370856424362e23b1a5e02dd3c58c83dd30f (patch)
tree737f4c52f79675a3c1bee0bf8d33e53f6e714be6 /less/forms.less
parent58cb7c631dddca72f5ea87f73b3a59b4c2ec312c (diff)
downloadbootstrap-5eed370856424362e23b1a5e02dd3c58c83dd30f.tar.xz
bootstrap-5eed370856424362e23b1a5e02dd3c58c83dd30f.zip
fix more spacing issues with input append/prepend
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less11
1 files changed, 4 insertions, 7 deletions
diff --git a/less/forms.less b/less/forms.less
index 5fc8f5261..5045dc254 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -361,7 +361,6 @@ select:focus:required:invalid {
// Allow us to put symbols and text within the input field for a cleaner look
.input-prepend,
.input-append {
- display: inline-block;
margin-bottom: 5px;
input,
select,
@@ -440,7 +439,9 @@ select:focus:required:invalid {
textarea,
select,
.help-inline,
- .uneditable-input {
+ .uneditable-input,
+ .input-prepend,
+ .input-append {
display: inline-block;
margin-bottom: 0;
}
@@ -450,11 +451,7 @@ select:focus:required:invalid {
}
}
.form-search label,
-.form-inline label,
-.form-search .input-append,
-.form-inline .input-append,
-.form-search .input-prepend,
-.form-inline .input-prepend {
+.form-inline label {
display: inline-block;
}
// Remove margin for input-prepend/-append