diff --git a/.storybook/image-snapshots/expected/components_DatatableV2_Sorting_Initial Sorting.png b/.storybook/image-snapshots/expected/components_DatatableV2_Sorting_Initial Sorting.png index 04da8f90c..234d3bd85 100644 Binary files a/.storybook/image-snapshots/expected/components_DatatableV2_Sorting_Initial Sorting.png and b/.storybook/image-snapshots/expected/components_DatatableV2_Sorting_Initial Sorting.png differ diff --git a/src/components/DatatableV2/table/TableRoot.tsx b/src/components/DatatableV2/table/TableRoot.tsx index 5e459008b..b45d2fb02 100644 --- a/src/components/DatatableV2/table/TableRoot.tsx +++ b/src/components/DatatableV2/table/TableRoot.tsx @@ -122,11 +122,6 @@ const TableRoot = styled.div` } } - .ds-table-header-cell-sort-button { - opacity: 0; - font-size: var(--sscds-font-size-body-sm); - } - .ds-table-header-cell-column-actions-button-wrapper { display: flex; align-items: center; @@ -148,14 +143,13 @@ const TableRoot = styled.div` &:hover, &:focus-within { - .ds-table-header-cell-sort-button, .ds-table-header-cell-resize-handler, .ds-table-header-cell-column-actions-button-wrapper { opacity: 1; } } &[data-sorted]:not([data-sorted='false']) - .ds-table-header-cell-sort-button { + .ds-table-header-cell-column-actions-button-wrapper { opacity: 1; } }