Skip to content

Commit

Permalink
feat(table): fix style name
Browse files Browse the repository at this point in the history
  • Loading branch information
malegreIndec committed Feb 6, 2024
1 parent 7d3372c commit 93e7532
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/theme/components/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const baseStyles = {
}
};

const fixedFirstColumn = {
const fixedFirstColumnStyles = {
position: 'sticky',
left: '0',
backgroundColor: 'brand.white'
Expand Down Expand Up @@ -45,7 +45,7 @@ const table = {
...baseStyles,
tr: {
'& th:first-of-type': {
...fixedFirstColumn
...fixedFirstColumnStyles
},
'&:nth-of-type(even) td:first-of-type ': {
backgroundColor: 'brand.neutral50'
Expand All @@ -57,7 +57,7 @@ const table = {

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

0 comments on commit 93e7532

Please sign in to comment.