Skip to content
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

fix(tabs): remove max-width #13247

Prev Previous commit
Next Next commit
docs(tabs): format
francinelucca committed Mar 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit bd83c89a11a588eaf2f83f1293a6423eae5a45e1
7 changes: 4 additions & 3 deletions packages/react/src/components/Tabs/Tabs.mdx
Original file line number Diff line number Diff line change
@@ -149,10 +149,11 @@ minor tweaks in naming or implementation.
- Because `renderButton` is no longer needed, the associated `tabIndex` prop has
also been deprecated.

### Max width
### Max width

In V11, tabs no longer have a max-width property set. Which means a tab title can span as wide as long it's title is.
To override this behavior, you may use some style rules:
In V11, tabs no longer have a max-width property set. Which means a tab title
can span as wide as long it's title is. To override this behavior, you may use
some style rules:

```css
.cds--tabs__nav-link {