Skip to content

Commit

Permalink
fix(material/core): optgroup label color not inferred correctly (#30085)
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 #30081.

(cherry picked from commit 6962c85)
  • Loading branch information
crisbeto committed Nov 27, 2024
1 parent 1235ad2 commit 72ff6fc
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 72ff6fc

Please sign in to comment.