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:
parent
b7b84c7a0d
commit
edca6f28f0
Binary file not shown.
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user