Permalink
Browse files

fix more spacing issues with input append/prepend

  • Loading branch information...
1 parent 58cb7c6 commit 5eed370856424362e23b1a5e02dd3c58c83dd30f @mdo mdo committed Mar 12, 2012
Showing with 12 additions and 14 deletions.
  1. BIN docs/assets/bootstrap.zip
  2. +8 −7 docs/assets/css/bootstrap.css
  3. +4 −7 less/forms.less
View
Binary file not shown.
@@ -982,7 +982,6 @@ select:focus:required:invalid:focus {
}
.input-prepend,
.input-append {
- display: inline-block;
margin-bottom: 5px;
}
.input-prepend input,
@@ -1071,7 +1070,13 @@ select:focus:required:invalid:focus {
.form-horizontal .help-inline,
.form-search .uneditable-input,
.form-inline .uneditable-input,
-.form-horizontal .uneditable-input {
+.form-horizontal .uneditable-input,
+.form-search .input-prepend,
+.form-inline .input-prepend,
+.form-horizontal .input-prepend,
+.form-search .input-append,
+.form-inline .input-append,
+.form-horizontal .input-append {
display: inline-block;
margin-bottom: 0;
}
@@ -1081,11 +1086,7 @@ select:focus:required:invalid:focus {
display: none;
}
.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;
}
.form-search .input-append,
View
@@ -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

0 comments on commit 5eed370

Please sign in to comment.