aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/assets/css/bootstrap.css6
-rw-r--r--less/forms.less7
2 files changed, 13 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index d9efc0f82..f50619135 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -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 {
diff --git a/less/forms.less b/less/forms.less
index 303c3b617..c61fd50fa 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -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,