From 93e7532ff39e45fe292bd1f9b9a2839765d5483f Mon Sep 17 00:00:00 2001 From: malegre Date: Tue, 6 Feb 2024 18:09:52 -0300 Subject: [PATCH] feat(table): fix style name --- src/theme/components/table.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/theme/components/table.js b/src/theme/components/table.js index 6356c53..d44cd48 100644 --- a/src/theme/components/table.js +++ b/src/theme/components/table.js @@ -7,7 +7,7 @@ const baseStyles = { } }; -const fixedFirstColumn = { +const fixedFirstColumnStyles = { position: 'sticky', left: '0', backgroundColor: 'brand.white' @@ -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' @@ -57,7 +57,7 @@ const table = { td: { '&:first-of-type': { - ...fixedFirstColumn + ...fixedFirstColumnStyles } } }