Merge pull request #23219 from backstage/styling/table-remove-inline-uppercase

Table: Remove textTransform inline styling
This commit is contained in:
Fredrik Adelöw
2024-03-01 19:45:34 +01:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Move the text-transform styling on BackstageTableHeader from inline styling to `withStyles` so it can be customised easier
@@ -115,6 +115,7 @@ const StyledMTableHeader = withStyles(
fontWeight: theme.typography.fontWeightBold,
position: 'static',
wordBreak: 'normal',
textTransform: 'uppercase',
},
}),
{ name: 'BackstageTableHeader' },
@@ -436,7 +437,7 @@ export function Table<T extends object = {}>(props: TableProps<T>) {
Toolbar,
...components,
}}
options={{ headerStyle: { textTransform: 'uppercase' }, ...options }}
options={options}
columns={convertColumns(columns, theme)}
icons={tableIcons}
title={