Commit 35573db8 authored by Mark Otto's avatar Mark Otto

Fixes #7611: fix optgroup formatting for Firefox

parent 5f7352a6
...@@ -1317,6 +1317,12 @@ select[size] { ...@@ -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 {
......
...@@ -124,6 +124,13 @@ select[size] { ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment