Skip to content

Commit

Permalink
Update table cell chart CSS to account for changes
Browse files Browse the repository at this point in the history
- `className`/`css` not applies directly to the `<td>` cell and not the content
  • Loading branch information
cee-chen committed Apr 11, 2024
1 parent 56ed18a commit 67e69d8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ export const ChangePointsTable: FC<ChangePointsTableProps> = ({
truncateText: false,
valign: 'middle',
css: {
// Extra specificity needed here to override Sass styles
// TODO: Can be removed once EuiTable has been converted to Emotion
['&.euiTableCellContent']: { display: 'block', padding: 0 },
'.euiTableCellContent': { display: 'block', padding: 0 },
},
render: (annotation: ChangePointAnnotation) => {
return (
Expand Down

0 comments on commit 67e69d8

Please sign in to comment.