1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Fixes #7611: fix optgroup formatting for Firefox

This commit is contained in:
Mark Otto 2013-05-19 22:06:10 -07:00
parent 5f7352a6fe
commit 35573db810
2 changed files with 13 additions and 0 deletions

View file

@ -1317,6 +1317,12 @@ select[size] {
height: auto; height: auto;
} }
select optgroup {
font-family: inherit;
font-size: inherit;
font-style: inherit;
}
input[type="file"]:focus, input[type="file"]:focus,
input[type="radio"]:focus, input[type="radio"]:focus,
input[type="checkbox"]:focus { input[type="checkbox"]:focus {

View file

@ -124,6 +124,13 @@ select[size] {
height: auto; height: auto;
} }
// Fix optgroup Firefox bug per https://github.com/twitter/bootstrap/issues/7611
select optgroup {
font-size: inherit;
font-style: inherit;
font-family: inherit;
}
// Focus for select, file, radio, and checkbox // Focus for select, file, radio, and checkbox
input[type="file"]:focus, input[type="file"]:focus,
input[type="radio"]:focus, input[type="radio"]:focus,