Skip to content

Commit 1b5d785

Browse files
committed
fix: add background-color to option element in all browsers
1 parent ad85e46 commit 1b5d785

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scss/_forms.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,9 @@ select.form-control {
8787
background-color: themes-get-value("input-bg");
8888
}
8989
}
90-
}
9190

92-
@-moz-document url-prefix() {
93-
select.form-control option {
94-
// Add background-color for elements in Firefox
91+
option {
92+
// Add background-color for option elements
9593
@include themes($form-theme-map, $create: parent) {
9694
background-color: themes-get-value("select-option-bg");
9795
}

0 commit comments

Comments
 (0)