0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

fix #2718, misaligned uneditable inputs in prepends/appends

This commit is contained in:
Mark Otto 2012-03-22 17:41:20 -07:00
parent b7b84c7a0d
commit edca6f28f0
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -951,7 +951,6 @@ select:focus:required:invalid:focus {
clear: both;
}
.uneditable-input {
display: block;
background-color: #ffffff;
border-color: #eee;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
@ -994,6 +993,7 @@ select:focus:required:invalid:focus {
.input-append .uneditable-input {
margin-bottom: 0;
*margin-left: 0;
vertical-align: middle;
-webkit-border-radius: 0 3px 3px 0;
-moz-border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0;

View File

@ -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;