Skip to content

Commit cb63f50

Browse files
authored
fix: reset background color from overwritten app.css file (#2707)
1 parent 31ffade commit cb63f50

File tree

1 file changed

+3
-3
lines changed
  • packages/core/components/Table/components

1 file changed

+3
-3
lines changed

packages/core/components/Table/components/Cell.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ const Cell = ({ children, style, isBold = false, ariaLabel }) => {
1414
// Only include aria-label if it has a value
1515
const ariaProps = ariaLabel ? { 'aria-label': ariaLabel } : {}
1616

17-
// Keep whiteSpace on td style so it can be detected by tests and for proper rendering
18-
const tdStyle = { ...style }
19-
delete tdStyle.textOverflow
17+
// Keep whiteSpace on td style so it can be detected by tests and for proper rendering
18+
const tdStyle = { backgroundColor: 'initial', ...style }
19+
delete tdStyle.textOverflow
2020

2121
return (
2222
<td {...ariaProps} role='gridcell' style={tdStyle}>

0 commit comments

Comments
 (0)