hide custom select arrow only in firefox < 35
with the help of some javascript code martin will write :)
This commit is contained in:
parent
fbba548e0b
commit
30042e451d
1 changed files with 8 additions and 7 deletions
|
@ -733,16 +733,17 @@ textarea,
|
|||
Firefox only hack
|
||||
-----------------
|
||||
|
||||
Firefox doesn't allow us to hide the dropdown arrow
|
||||
but we want to replace it with our own icon.
|
||||
So we have to hide our own icon in Firefox.
|
||||
Firefox below version 35 doesn't allow us to
|
||||
hide the dropdown arrow but we want to replace
|
||||
it with our own icon. So we have to hide our own
|
||||
icon in Firefox versions under 35.
|
||||
|
||||
The class is set via Javascript
|
||||
|
||||
*/
|
||||
|
||||
@-moz-document url-prefix() {
|
||||
.form-control + .select-arrow {
|
||||
display: none;
|
||||
}
|
||||
html.ff-lt-35 .form-control + .select-arrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
select::-ms-expand {
|
||||
|
|
Loading…
Reference in a new issue