Skip to content

Commit 6962c85

Browse files
authored
fix(material/core): optgroup label color not inferred correctly (angular#30085)
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.
1 parent a08eeeb commit 6962c85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material/core/option/optgroup.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@
4242
text-decoration: inherit;
4343
text-transform: inherit;
4444
white-space: normal;
45+
color: inherit;
4546
}
4647
}

0 commit comments

Comments
 (0)