Skip to content

Commit 52b2e54

Browse files
committed
fix(tabs): missing mat class on tab group
1 parent c203589 commit 52b2e54

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/lib/tabs/tab-group.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export type MdTabHeaderPosition = 'above' | 'below';
5454
templateUrl: 'tab-group.html',
5555
styleUrls: ['tab-group.css'],
5656
host: {
57+
'[class.mat-tab-group]': 'true',
5758
'[class.mat-tab-group-dynamic-height]': 'dynamicHeight',
5859
'[class.mat-tab-group-inverted-header]': 'headerPosition === "below"',
5960
}

src/lib/tabs/tab-header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const EXAGGERATED_OVERSCROLL = 60;
4545
styleUrls: ['tab-header.css'],
4646
encapsulation: ViewEncapsulation.None,
4747
host: {
48-
'class': 'mat-tab-header',
48+
'[class.mat-tab-header]': 'true',
4949
'[class.mat-tab-header-pagination-controls-enabled]': '_showPaginationControls',
5050
'[class.mat-tab-header-rtl]': "_getLayoutDirection() == 'rtl'",
5151
}

0 commit comments

Comments
 (0)