diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a27067a0..7f08342c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Not released +- `NoWrap` for table header [#908](https://github.com/CartoDB/carto-react/pull/908) + ## 3.0.0 ### 3.0.0-alpha.19 (2024-09-19) diff --git a/packages/react-ui/src/widgets/TableWidgetUI/TableWidgetUI.js b/packages/react-ui/src/widgets/TableWidgetUI/TableWidgetUI.js index 8d1fb27d7..94967617f 100644 --- a/packages/react-ui/src/widgets/TableWidgetUI/TableWidgetUI.js +++ b/packages/react-ui/src/widgets/TableWidgetUI/TableWidgetUI.js @@ -20,7 +20,8 @@ import useSkeleton from '../useSkeleton'; const TableHeadCellLabel = styled(TableSortLabel)(({ theme }) => ({ ...theme.typography.caption, - color: theme.palette.text.secondary + color: theme.palette.text.secondary, + whiteSpace: 'nowrap' })); const TableRowStyled = styled(TableRow)(({ theme }) => ({