diff --git a/CHANGELOG.md b/CHANGELOG.md index f804aa80..36db16d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 3.0.20 + +- Update Font Size for Table Contents + ## 3.0.19 - Add pre-commit hook with lint-staged and prettier diff --git a/package.json b/package.json index b8996966..b75f37d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@catena-x/portal-shared-components", - "version": "3.0.19", + "version": "3.0.20", "description": "Catena-X Portal Shared Components", "author": "Catena-X Contributors", "license": "Apache-2.0", diff --git a/src/components/basic/Table/index.tsx b/src/components/basic/Table/index.tsx index 13b02f7a..ac6854f9 100644 --- a/src/components/basic/Table/index.tsx +++ b/src/components/basic/Table/index.tsx @@ -72,6 +72,7 @@ export interface TableProps extends DataGridProps { sortOptions?: SortOptionsType[] onSortClick?: (value: string) => void alignCell?: string + fontSizeCell?: string error?: { status: number } @@ -113,6 +114,7 @@ export const Table = ({ sortOptions, onSortClick, alignCell = 'center', + fontSizeCell = '14px', error, reload, autoFocus = true, @@ -216,6 +218,7 @@ export const Table = ({ sx={{ '&.MuiDataGrid-root .MuiDataGrid-cell': { alignItems: alignCell, + fontSize: fontSizeCell, }, '&.MuiDataGrid-root .MuiDataGrid-columnHeader:focus, &.MuiDataGrid-root .MuiDataGrid-cell:focus, &.MuiDataGrid-root .MuiDataGrid-cell:focus-within': {