aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
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 6c7faf0e2..a57732c13 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -365,13 +365,13 @@ select:focus:required:invalid {
input,
select,
.uneditable-input {
+ position: relative; // placed here by default so that on :focus we can place the input above the .add-on for full border and box-shadow goodness
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);
// Make input on top when focused so blue border and shadow always show
&:focus {
- position: relative;
z-index: 2;
}
}