-
Notifications
You must be signed in to change notification settings - Fork 84
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
Tabs on left are changing width when content change #4024
Comments
@maspychaj-sage what's the use case for having two sets of tabs on top of one another? |
I've got two Tabs on two different pages and it's not consistent when you change pages. It's not possible to have the same layout when tabs strings are longer. |
FE-4161 has been raised to address the width of the tabs |
`tabsHeaderWidth` prop will set a width to `TabsHeader` component. It will allow users with very long title to make well aligned `Tabs` if there will be more of tabs group than one fixes: #4024
## [77.6.0](v77.5.0...v77.6.0) (2021-07-06) ### Features * **tabs:** add tabsHeaderWidth prop ([b76b8a7](b76b8a7)), closes [#4024](#4024)
🎉 This issue has been resolved in version 77.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Current behaviour
When text in tab is longer then space in the tab it make content narrower.
Expected behaviour
Tab width should be the same width for any content.
Reproducible example
https://codesandbox.io/s/objective-fog-0t19d?file=/src/index.js
Suggested solution(s)
Prop for set width of tabs or max width.
Your environment
The text was updated successfully, but these errors were encountered: