aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-22 17:41:20 -0700
committerMark Otto <[email protected]>2012-03-22 17:41:20 -0700
commitedca6f28f0ae78cdc3dbfe0ce5183153830a77ee (patch)
tree0874443389383543a82a881c53b66821cc054ca5 /less/forms.less
parentb7b84c7a0dfaad5134258b5a50e8d42bd0656b81 (diff)
downloadbootstrap-edca6f28f0ae78cdc3dbfe0ce5183153830a77ee.tar.xz
bootstrap-edca6f28f0ae78cdc3dbfe0ce5183153830a77ee.zip
fix #2718, misaligned uneditable inputs in prepends/appends
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index a53b273b9..ffd198372 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -321,7 +321,6 @@ select:focus:required:invalid {
// For text that needs to appear as an input but should not be an input
.uneditable-input {
- display: block;
background-color: @inputBackground;
border-color: #eee;
.box-shadow(inset 0 1px 2px rgba(0,0,0,.025));
@@ -367,6 +366,7 @@ select:focus:required:invalid {
.uneditable-input {
margin-bottom: 0; // prevent bottom margin from screwing up alignment in stacked forms
*margin-left: 0;
+ vertical-align: middle;
.border-radius(0 3px 3px 0);
&:focus {
position: relative;