mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
fix #2846: Firefox required two clicks on selects to get to options dropdown
This commit is contained in:
parent
d6680a50b9
commit
3308d1968f
Binary file not shown.
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
@ -991,6 +991,7 @@ select:focus:required:invalid:focus {
|
||||
.input-append select,
|
||||
.input-prepend .uneditable-input,
|
||||
.input-append .uneditable-input {
|
||||
position: relative;
|
||||
margin-bottom: 0;
|
||||
*margin-left: 0;
|
||||
vertical-align: middle;
|
||||
@ -1004,7 +1005,6 @@ select:focus:required:invalid:focus {
|
||||
.input-append select:focus,
|
||||
.input-prepend .uneditable-input:focus,
|
||||
.input-append .uneditable-input:focus {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
.input-prepend .uneditable-input,
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user