Skip to content

Commit

Permalink
feat(tabs): make auto-width the default behind v11 flag (#10035)
Browse files Browse the repository at this point in the history
* feat(tabs): make auto-width the default behind v11 flag

* fix(tabs): remove unecessary width:auto

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tay1orjones and kodiakhq[bot] authored Nov 3, 2021
1 parent f24e5f9 commit b9fe18c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/components/src/components/tabs/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,11 @@
@include focus-outline('reset');
@include type-style('body-short-01');

@if not feature-flag-enabled('enable-v11-release') {
width: rem(160px);
}

overflow: hidden;
width: rem(160px);
padding: $spacing-04 $spacing-05 $spacing-03;
border-bottom: $tab-underline-color;
color: $text-02;
Expand Down
5 changes: 4 additions & 1 deletion packages/styles/scss/components/tabs/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -733,8 +733,11 @@
@include focus-outline('reset');
@include type-style('body-short-01');

@if not feature-flag-enabled('enable-v11-release') {
width: rem(160px);
}

overflow: hidden;
width: rem(160px);
padding: $spacing-04 $spacing-05 $spacing-03;
border-bottom: $tab-underline-color;
color: $text-secondary;
Expand Down

0 comments on commit b9fe18c

Please sign in to comment.