Skip to content

Commit 59d9f4d

Browse files
crisbetowagnermaciel
authored andcommitted
fix(material-experimental/mdc-tabs): support backgroundColor on nav bar (angular#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.
1 parent b0ec08f commit 59d9f4d

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)