Skip to content

Commit 00de2d7

Browse files
andrewseguinkara
authored andcommitted
fix(tabs): remove flex; bring ink into same parent as links (#3331)
1 parent e3ba1e1 commit 00de2d7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="mat-tab-links">
22
<ng-content></ng-content>
3+
<md-ink-bar></md-ink-bar>
34
</div>
45

5-
<md-ink-bar></md-ink-bar>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77
}
88

99
.mat-tab-links {
10-
display: flex;
1110
position: relative;
1211
}
1312

1413
// Wraps each link in the header
1514
.mat-tab-link {
1615
@include tab-label;
16+
display: inline-block;
17+
vertical-align: top;
1718
text-decoration: none; // Removes anchor underline styling
1819
position: relative;
1920
overflow: hidden; // Keeps the ripple from extending outside the element bounds

0 commit comments

Comments
 (0)