diff --git a/packages/styles/scss/components/tableofcontents/_table-of-contents.scss b/packages/styles/scss/components/tableofcontents/_table-of-contents.scss index a212ac2ac2c..b3ee02bd4a8 100644 --- a/packages/styles/scss/components/tableofcontents/_table-of-contents.scss +++ b/packages/styles/scss/components/tableofcontents/_table-of-contents.scss @@ -112,7 +112,6 @@ $hover-transition-timing: 95ms; @extend .#{$prefix}--col-lg-12; box-sizing: border-box; - padding-block: $spacing-05 $spacing-09; } .#{$prefix}--tableofcontents { diff --git a/packages/web-components/src/components/table-of-contents/__stories__/table-of-contents.stories.scss b/packages/web-components/src/components/table-of-contents/__stories__/table-of-contents.stories.scss index 356781345dc..7f5127a590b 100644 --- a/packages/web-components/src/components/table-of-contents/__stories__/table-of-contents.stories.scss +++ b/packages/web-components/src/components/table-of-contents/__stories__/table-of-contents.stories.scss @@ -1,5 +1,5 @@ // -// Copyright IBM Corp. 2020, 2023 +// Copyright IBM Corp. 2020, 2024 // // This source code is licensed under the Apache-2.0 license found in the // LICENSE file in the root directory of this source tree. @@ -9,7 +9,7 @@ @use '@carbon/ibmdotcom-styles/scss/globals/vars' as *; .#{$c4d-prefix}-ce-demo--table-of-contents { - padding: 0 $spacing-05; + padding: $spacing-07 $spacing-09; h3 { padding-block: $spacing-07;