diff --git a/packages/carbon-web-components/src/components/data-table/_table-sizes.scss b/packages/carbon-web-components/src/components/data-table/_table-sizes.scss index 310452f1989..3253a9a3b95 100644 --- a/packages/carbon-web-components/src/components/data-table/_table-sizes.scss +++ b/packages/carbon-web-components/src/components/data-table/_table-sizes.scss @@ -185,13 +185,6 @@ // // "selection" and "expandable" sizes // -:host(#{$prefix}-table-header-row[selection-name][expandable]), -:host(#{$prefix}-table-row[selection-name][expandable]) { - ::slotted(#{$prefix}-table-header-cell), - ::slotted(#{$prefix}-table-cell) { - padding-left: $spacing-03; - } -} :host(#{$prefix}-table-header-row[selection-name][expandable][size='xs']), :host(#{$prefix}-table-row[selection-name][expandable][size='xs']) { diff --git a/packages/carbon-web-components/src/components/data-table/_table-sort.scss b/packages/carbon-web-components/src/components/data-table/_table-sort.scss index 2e8e85233ee..eaeeaaafd62 100644 --- a/packages/carbon-web-components/src/components/data-table/_table-sort.scss +++ b/packages/carbon-web-components/src/components/data-table/_table-sort.scss @@ -57,3 +57,10 @@ .#{$prefix}--table-sort__icon { transform: rotate(180deg); } + +:host(#{$prefix}-table-header-cell[sort-direction]) { + ::slotted(#{$prefix}-slug){ + margin-inline-end: auto; + margin-inline-start: $spacing-03; + } +} \ No newline at end of file