From e9d0711bbfb82a0d2ef3a78fc18e8cf2e7b6caea Mon Sep 17 00:00:00 2001 From: malegre Date: Wed, 7 Feb 2024 17:30:00 -0300 Subject: [PATCH] feat(table): fixs from comments --- src/theme/components/table.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/theme/components/table.js b/src/theme/components/table.js index d44cd48..7d2b90e 100644 --- a/src/theme/components/table.js +++ b/src/theme/components/table.js @@ -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 } } }