We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af48bb0 commit 2a15cd7Copy full SHA for 2a15cd7
src/lib/tabs/tab-body.scss
@@ -1,4 +1,8 @@
1
.mat-tab-body-content {
2
height: 100%;
3
overflow: auto;
4
+
5
+ .mat-tab-group-dynamic-height & {
6
+ overflow: hidden;
7
+ }
8
}
src/lib/tabs/tab-body.ts
@@ -8,6 +8,7 @@ import {
ElementRef,
9
Optional,
10
AfterViewChecked,
11
+ ViewEncapsulation,
12
} from '@angular/core';
13
import {
14
trigger,
@@ -50,6 +51,7 @@ export type MdTabBodyOriginState = 'left' | 'right';
50
51
selector: 'md-tab-body, mat-tab-body',
52
templateUrl: 'tab-body.html',
53
styleUrls: ['tab-body.css'],
54
+ encapsulation: ViewEncapsulation.None,
55
host: {
56
'[class.mat-tab-body]': 'true',
57
},
0 commit comments