Skip to content

Commit a13bf32

Browse files
committed
frontend: SimpleTable: adjust styles to use new theme tokens
Signed-off-by: Oleksandr Dubenko <[email protected]>
1 parent 300096a commit a13bf32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/components/common/SimpleTable.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,12 @@ export default function SimpleTable(props: SimpleTableProps) {
350350
width: 'auto',
351351
display: 'grid',
352352
gridTemplateColumns: gridTemplateColumns || '1fr',
353+
background: theme.palette.background.default,
353354
[theme.breakpoints.down('sm')]: {
354355
overflowX: 'auto', // make it responsive
355356
},
356357
'& .MuiTableCell-root': {
358+
borderColor: theme.palette.divider,
357359
padding: '8px 16px 7px 16px',
358360
[theme.breakpoints.down('sm')]: {
359361
padding: '15px 24px 15px 16px',
@@ -363,8 +365,6 @@ export default function SimpleTable(props: SimpleTableProps) {
363365
wordWrap: 'break-word',
364366
},
365367
'& .MuiTableBody-root': {
366-
background: theme.palette.tables.body.background,
367-
368368
'& .MuiTableRow-root:last-child': {
369369
'& .MuiTableCell-root': {
370370
borderBottom: 'none',
@@ -376,7 +376,7 @@ export default function SimpleTable(props: SimpleTableProps) {
376376
textOverflow: 'unset',
377377
whiteSpace: 'nowrap',
378378
color: theme.palette.tables.head.text,
379-
background: theme.palette.tables.head.background,
379+
background: theme.palette.background.muted,
380380
width: '100%',
381381
minWidth: 'max-content',
382382
},

0 commit comments

Comments
 (0)