-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NavBar] Support stretched tabs #8871
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Mar 12, 2018
Adds support for stretched tabs in the tab nav bar. Also removes a duplicate selector. Fixes angular#8871.
mmalerba
pushed a commit
that referenced
this issue
Mar 15, 2018
Adds support for stretched tabs in the tab nav bar. Also removes a duplicate selector. Fixes #8871.
andrewseguin
pushed a commit
that referenced
this issue
Mar 19, 2018
Adds support for stretched tabs in the tab nav bar. Also removes a duplicate selector. Fixes #8871.
Arrows not present? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
As seen in https://material.io/guidelines/components/tabs.html, tabs should use 100% of horizontal space when they fit and they use label space with arrows when they don't fit.
There used to be a
md-stretch-tabs
that seems to do this but not anymore as seen in #5286What is the current behavior?
Currently, tabs are inline but we can't tell the tabs to use all space.
What are the steps to reproduce?
https://stackblitz.com/edit/mat-tab-nav-bar-not-using-all-horizontal-space
What is the use-case or motivation for changing an existing behavior?
Respecting the guideline. Making an easy way to do it
The text was updated successfully, but these errors were encountered: