Skip to content

Commit

Permalink
fix(material/core): optgroup label color not inferred correctly
Browse files Browse the repository at this point in the history
Fixes that we weren't setting the color of the `mat-optgroup` label correctly, resulting in it being taken from `mat-list`.

Fixes angular#30081.
  • Loading branch information
crisbeto committed Nov 26, 2024
1 parent 00959ec commit ea3e717
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/material/core/option/optgroup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@
text-decoration: inherit;
text-transform: inherit;
white-space: normal;
color: inherit;
}
}

0 comments on commit ea3e717

Please sign in to comment.