We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c203589 commit 52b2e54Copy full SHA for 52b2e54
src/lib/tabs/tab-group.ts
@@ -54,6 +54,7 @@ export type MdTabHeaderPosition = 'above' | 'below';
54
templateUrl: 'tab-group.html',
55
styleUrls: ['tab-group.css'],
56
host: {
57
+ '[class.mat-tab-group]': 'true',
58
'[class.mat-tab-group-dynamic-height]': 'dynamicHeight',
59
'[class.mat-tab-group-inverted-header]': 'headerPosition === "below"',
60
}
src/lib/tabs/tab-header.ts
@@ -45,7 +45,7 @@ const EXAGGERATED_OVERSCROLL = 60;
45
styleUrls: ['tab-header.css'],
46
encapsulation: ViewEncapsulation.None,
47
48
- 'class': 'mat-tab-header',
+ '[class.mat-tab-header]': 'true',
49
'[class.mat-tab-header-pagination-controls-enabled]': '_showPaginationControls',
50
'[class.mat-tab-header-rtl]': "_getLayoutDirection() == 'rtl'",
51
0 commit comments