summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarvan2 <[email protected]>2023-04-13 07:00:16 +0000
committerLarvan2 <[email protected]>2023-04-13 07:00:16 +0000
commit2156869ce998655508d0aaecc1fb0318c9c77be2 (patch)
tree015d0a9632d2c3c093a23ae961d97c94f43cf6c2
parent3562fa2882b7a7cd7a51e5024194cb81f82a4cc1 (diff)
adjust the first colum
-rw-r--r--src/components/ConnectionTable.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ConnectionTable.tsx b/src/components/ConnectionTable.tsx
index b0ff3e6..c0ce704 100644
--- a/src/components/ConnectionTable.tsx
+++ b/src/components/ConnectionTable.tsx
@@ -74,7 +74,7 @@ function Table({ data }) {
{headerGroup.headers.map((column, index) => (
<div
{...column.getHeaderProps(column.getSortByToggleProps())}
- className={index >= 5 && index < 10 ? s.thdu : s.th}
+ className={index == 0 || (index >= 5 && index < 10) ? s.thdu : s.th}
>
<span>{t(column.render('Header'))}</span>
<span className={s.sortIconContainer}>
@@ -96,7 +96,7 @@ function Table({ data }) {
className={cx(
s.td,
i % 2 === 0 ? s.odd : false,
- j >= 5 && j < 10 ? s.du : true
+ j == 0 || (j >= 5 && j < 10) ? s.du : true
)}
>
{renderCell(cell, locale)}