We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 826bbd8 commit a79a651Copy full SHA for a79a651
dashboard/src/plugins/viz-components/table/viz-table.styles.ts
@@ -40,16 +40,20 @@ export const useTableStyles = createStyles((theme) => ({
40
41
export const baseTableSX: Sx = {
42
tableLayout: 'fixed',
43
- 'th, td': {
44
- padding: '2px 10px',
45
- div: {
46
- overflow: 'hidden',
47
- textOverflow: 'ellipsis',
48
- },
49
- // for index column
50
- '&:first-of-type': {
51
- paddingLeft: 2,
52
- paddingRight: 2,
+ 'thead, tbody': {
+ tr: {
+ 'th, td': {
+ padding: '2px 10px',
+ div: {
+ overflow: 'hidden',
+ textOverflow: 'ellipsis',
+ },
+ // for index column
+ '&:first-of-type': {
53
+ paddingLeft: 2,
54
+ paddingRight: 2,
55
56
57
},
58
59
};
0 commit comments