Applying overflow:hidden to .mat-tab-body-content. I have provided overflow-x:hidden in css but also it is not getting
If you what to apply the style in the component css then you have use
::ng-deep .mat-tab-body-content {
overflow: hidden !important;
}
with ::ng-deep. In this way the style is applied only in the component where scss belongs. Otherwise you have to change the global style file.
If you mean hiding Overflow in css, the answer is :
.mat-tab-body-content {
overflow: hidden;
}
Or:
.mat-tab-body-content {
overflow-x: hidden;
overflow-y: hidden;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With