I have the following piece of code
If you want to control the height
and width
of angular material
tabs use styles followed by ::ng-deep
. Check the below code to modify height
and width
::ng-deep .mat-tab-label
{
height: 27px !important;
min-height: 5px!important;
margin: 3px!important;
width: 90px!important;
min-width: 5px!important;
}