diff --git a/packages/core/components/Table/components/Cell.tsx b/packages/core/components/Table/components/Cell.tsx index 38b51ad61f..ad9028f831 100644 --- a/packages/core/components/Table/components/Cell.tsx +++ b/packages/core/components/Table/components/Cell.tsx @@ -14,9 +14,9 @@ const Cell = ({ children, style, isBold = false, ariaLabel }) => { // Only include aria-label if it has a value const ariaProps = ariaLabel ? { 'aria-label': ariaLabel } : {} - // Keep whiteSpace on td style so it can be detected by tests and for proper rendering - const tdStyle = { ...style } - delete tdStyle.textOverflow + // Keep whiteSpace on td style so it can be detected by tests and for proper rendering + const tdStyle = { backgroundColor: 'initial', ...style } + delete tdStyle.textOverflow return (