diff --git a/packages/react/src/components/Tabs/Tabs.stories.js b/packages/react/src/components/Tabs/Tabs.stories.js index 98ad5ed55e2d..f7bbf8d0ea7f 100644 --- a/packages/react/src/components/Tabs/Tabs.stories.js +++ b/packages/react/src/components/Tabs/Tabs.stories.js @@ -23,6 +23,7 @@ import RadioButtonGroup from '../RadioButtonGroup'; import RadioButton from '../RadioButton'; import { Stack } from '../Stack'; import { Grid, Column } from '../Grid'; +import { Layer } from '../Layer'; import mdx from './Tabs.mdx'; import TabsSkeleton from './Tabs.Skeleton'; @@ -374,20 +375,22 @@ export const Contained = () => ( Tab Panel 1 -
- Validation example - - - - + +
+ Validation example + + + + +
Tab Panel 3 Tab Panel 4 @@ -410,20 +413,22 @@ export const ContainedWithIcons = () => ( Tab Panel 1 -
- Validation example - - - - + +
+ Validation example + + + + +
Tab Panel 3 Tab Panel 4 @@ -446,20 +451,22 @@ export const ContainedWithSecondaryLabels = () => ( Tab Panel 1 -
- Validation example - - - - + +
+ Validation example + + + + +
Tab Panel 3 Tab Panel 4 @@ -490,20 +497,22 @@ export const ContainedWithSecondaryLabelsAndIcons = () => ( Tab Panel 1 -
- Validation example - - - - + +
+ Validation example + + + + +
Tab Panel 3 Tab Panel 4 @@ -529,20 +538,22 @@ export const ContainedFullWidth = () => ( Tab Panel 1 -
- Validation example - - - - + +
+ Validation example + + + + +
Tab Panel 3 Tab Panel 4 @@ -573,24 +584,38 @@ export const Vertical = ({ ...args }) => ( Tab Panel 1 -
- - - - - - - - - - - - - -
+ +
+ + + + + + + + + + + + + +
+
Tab Panel 3 Tab Panel 4 diff --git a/packages/styles/scss/components/tabs/_tabs.scss b/packages/styles/scss/components/tabs/_tabs.scss index b1855a2f0d16..fe0af9e7ac30 100644 --- a/packages/styles/scss/components/tabs/_tabs.scss +++ b/packages/styles/scss/components/tabs/_tabs.scss @@ -700,10 +700,6 @@ .#{$prefix}--tabs--contained ~ .#{$prefix}--tab-content { background: $layer; - - > * { - @include layer-tokens.emit-layer-tokens(2); - } } .#{$prefix}--tabs--vertical ~ .#{$prefix}--tab-content {