Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit a3f63cb

Browse files
Derek LouieThomasBurleson
authored andcommitted
fix(select): md-checkbox inside md-list-item using incorrect text color.
Closes #7893
1 parent 0a33ee2 commit a3f63cb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/select/select-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ md-select-menu.md-THEME_NAME-theme {
8181
}
8282
}
8383

84-
[md-checkbox-enabled].md-THEME_NAME-theme {
84+
._md-checkbox-enabled.md-THEME_NAME-theme {
8585
@include checkbox-primary('[selected]');
8686

8787
md-option ._md-text {

src/components/select/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ function OptionDirective($mdButtonInkRipple, $mdUtil) {
792792
var selectCtrl = ctrls[1];
793793

794794
if (selectCtrl.isMultiple) {
795-
element.attr('md-checkbox-enabled', '');
795+
element.addClass('_md-checkbox-enabled');
796796
element.prepend(CHECKBOX_SELECTION_INDICATOR.clone());
797797
}
798798

src/components/select/select.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ md-optgroup {
236236
}
237237

238238
md-select-menu[multiple] {
239-
md-option[md-checkbox-enabled] {
239+
md-option._md-checkbox-enabled {
240240
@include rtl(padding-left, $select-option-padding * 2.5, $select-option-padding);
241241
@include rtl(padding-right, $select-option-padding, $select-option-padding * 2.5);
242242

0 commit comments

Comments
 (0)