diff --git a/src/demo-app/tabs/tabs-demo.html b/src/demo-app/tabs/tabs-demo.html index 3d8943a29714..fe5deabe9a41 100644 --- a/src/demo-app/tabs/tabs-demo.html +++ b/src/demo-app/tabs/tabs-demo.html @@ -97,6 +97,15 @@

Tab Group Demo - Fixed Height

+

Stretched Tabs

+ + + + + {{tab.content}} + + +

Async Tabs

diff --git a/src/lib/tabs/tab-group.scss b/src/lib/tabs/tab-group.scss index 1b4dee349f51..ff7b36338f76 100644 --- a/src/lib/tabs/tab-group.scss +++ b/src/lib/tabs/tab-group.scss @@ -25,6 +25,11 @@ } } +:host[md-stretch-tabs] .md-tab-label { + flex-basis: 0; + flex-grow: 1; +} + // The ink bar that displays next to the active tab md-ink-bar { @include ink-bar;