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 116ee60 commit 61dd937Copy full SHA for 61dd937
src/lib/tabs/tab-nav-bar/tab-nav-bar.scss
@@ -14,11 +14,16 @@
14
// Wraps each link in the header
15
.mat-tab-link {
16
@include tab-label;
17
- vertical-align: top;
+ line-height: $mat-tab-bar-height;
18
text-decoration: none; // Removes anchor underline styling
19
position: relative;
20
overflow: hidden; // Keeps the ripple from extending outside the element bounds
21
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
+
27
[mat-stretch-tabs] & {
28
flex-basis: 0;
29
flex-grow: 1;
0 commit comments