Skip to content

Commit 9f3e3e4

Browse files
crisbetoannieyw
authored andcommitted
fix(material-experimental/mdc-tabs): support backgroundColor on nav bar (#21746)
Fixes that the MDC-based `mat-tab-nav-bar` doesn't support a `backgroundColor`. This is something we support on the non-MDC version, but it didn't make it into the MDC one for some reason. (cherry picked from commit da5e2eb)
1 parent 564f9ec commit 9f3e3e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-experimental/mdc-tabs/_tabs-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
}
3737
}
3838

39-
.mat-mdc-tab-group {
39+
.mat-mdc-tab-group, .mat-mdc-tab-nav-bar {
4040
&.mat-background-primary {
4141
@include _mat-mdc-tabs-background(primary, on-primary);
4242
}

0 commit comments

Comments
 (0)