Skip to content

Commit ab17996

Browse files
authored
Revert "fix(tabs): handle long tab labels in mat-tab-nav-bar (#10903)" (#11277)
This reverts commit 61dd937.
1 parent 68f2890 commit ab17996

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/lib/tabs/tab-nav-bar/tab-nav-bar.scss

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,11 @@
1414
// Wraps each link in the header
1515
.mat-tab-link {
1616
@include tab-label;
17-
line-height: $mat-tab-bar-height;
17+
vertical-align: top;
1818
text-decoration: none; // Removes anchor underline styling
1919
position: relative;
2020
overflow: hidden; // Keeps the ripple from extending outside the element bounds
2121

22-
// Allows for the ellipsis overflow to work. We truncate the
23-
// text since we don't support pagination on nav bars.
24-
display: block;
25-
text-overflow: ellipsis;
26-
2722
[mat-stretch-tabs] & {
2823
flex-basis: 0;
2924
flex-grow: 1;

0 commit comments

Comments
 (0)