Skip to content

Commit

Permalink
feat(table): fixs from comments
Browse files Browse the repository at this point in the history
  • Loading branch information
malegreIndec committed Feb 7, 2024
1 parent 93e7532 commit e9d0711
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/theme/components/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,17 @@ const table = {
fixedFirstColumn: {
...baseStyles,
tr: {
'& th:first-of-type': {
...fixedFirstColumnStyles
},
'&:nth-of-type(even) td:first-of-type ': {
'th:first-of-type': fixedFirstColumnStyles,
'&:nth-of-type(even) td:first-of-type': {
backgroundColor: 'brand.neutral50'
},
'&:nth-of-type(odd) td:first-of-type ': {
'&:nth-of-type(odd) td:first-of-type': {
backgroundColor: 'brand.white'
}
},

td: {
'&:first-of-type': {
...fixedFirstColumnStyles
}
'&:first-of-type': fixedFirstColumnStyles
}
}
}
Expand Down

0 comments on commit e9d0711

Please sign in to comment.