Skip to content

Commit 72ff6fc

Browse files
committed
fix(material/core): optgroup label color not inferred correctly (#30085)
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)
1 parent 1235ad2 commit 72ff6fc

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)