Commit edca6f28 authored by Mark Otto's avatar Mark Otto

fix #2718, misaligned uneditable inputs in prepends/appends

parent b7b84c7a
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment