]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #7611: fix optgroup formatting for Firefox
authorMark Otto <otto@github.com>
Mon, 20 May 2013 05:06:10 +0000 (22:06 -0700)
committerMark Otto <otto@github.com>
Mon, 20 May 2013 05:06:10 +0000 (22:06 -0700)
docs/assets/css/bootstrap.css
less/forms.less

index d9efc0f82adba086450a9c7c53a4a233338fe7c3..f506191350a0616d91d1e5af1962ad17df30edc0 100644 (file)
@@ -1317,6 +1317,12 @@ select[size] {
   height: auto;
 }
 
+select optgroup {
+  font-family: inherit;
+  font-size: inherit;
+  font-style: inherit;
+}
+
 input[type="file"]:focus,
 input[type="radio"]:focus,
 input[type="checkbox"]:focus {
index 303c3b6179321ca0ecbec4c6d8b678965bdb9cc2..c61fd50fa05ecbbc323404e2650d49ed40a31ded 100644 (file)
@@ -124,6 +124,13 @@ select[size] {
   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
 input[type="file"]:focus,
 input[type="radio"]:focus,