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

Commit

Permalink
fix(select): md-checkbox inside md-list-item using incorrect text color.
Browse files Browse the repository at this point in the history
Closes #7893
  • Loading branch information
Derek Louie authored and ThomasBurleson committed Apr 5, 2016
1 parent 0a33ee2 commit a3f63cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/select/select-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ md-select-menu.md-THEME_NAME-theme {
}
}

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

md-option ._md-text {
Expand Down
2 changes: 1 addition & 1 deletion src/components/select/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ function OptionDirective($mdButtonInkRipple, $mdUtil) {
var selectCtrl = ctrls[1];

if (selectCtrl.isMultiple) {
element.attr('md-checkbox-enabled', '');
element.addClass('_md-checkbox-enabled');
element.prepend(CHECKBOX_SELECTION_INDICATOR.clone());
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ md-optgroup {
}

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

Expand Down

0 comments on commit a3f63cb

Please sign in to comment.