Open Nodarii opened 5 years ago
Minimal width of .mat-tab-label is aligned with tabs specification
.mat-tab-label
current min-width value is set to 160px for desktop: https://github.com/angular/material2/blob/e66131744a9fa43438d8c91e682a73dec428be7b/src/lib/tabs/_tabs-common.scss#L14
min-width
and 72px for mobile: https://github.com/angular/material2/blob/master/src/lib/tabs/tab-nav-bar/tab-nav-bar.scss#L48 https://github.com/angular/material2/blob/master/src/lib/tabs/tab-header.scss#L19
! Specification defines it as 90px (regardless screen size)
Providing a StackBlitz. Make sure app width is greater then $mat-xsmall(599px)
latest
That is a correct issue. Any update? Should be trivial to change
What is the expected behavior?
Minimal width of
.mat-tab-label
is aligned with tabs specificationWhat is the current behavior?
current
min-width
value is set to 160px for desktop: https://github.com/angular/material2/blob/e66131744a9fa43438d8c91e682a73dec428be7b/src/lib/tabs/_tabs-common.scss#L14and 72px for mobile: https://github.com/angular/material2/blob/master/src/lib/tabs/tab-nav-bar/tab-nav-bar.scss#L48 https://github.com/angular/material2/blob/master/src/lib/tabs/tab-header.scss#L19
! Specification defines it as 90px (regardless screen size)
What are the steps to reproduce?
Providing a StackBlitz. Make sure app width is greater then $mat-xsmall(599px)
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
latest