fix(tabs): remove flex; bring ink into same parent as links (#3331)

This commit is contained in:
Andrew Seguin
2017-03-01 10:49:37 -08:00
committed by Kara
parent e3ba1e1c26
commit 00de2d735d
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="mat-tab-links">
<ng-content></ng-content>
<md-ink-bar></md-ink-bar>
</div>
<md-ink-bar></md-ink-bar>
+2 -1
View File
@@ -7,13 +7,14 @@
}
.mat-tab-links {
display: flex;
position: relative;
}
// Wraps each link in the header
.mat-tab-link {
@include tab-label;
display: inline-block;
vertical-align: top;
text-decoration: none; // Removes anchor underline styling
position: relative;
overflow: hidden; // Keeps the ripple from extending outside the element bounds