File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,9 @@ export const DataTable = <T,>({
2727 < TableHead
2828 key = { columnIndex }
2929 className = { cn (
30- 'bg-dark-400 text-purple-100 py-4' ,
30+ 'bg-dark-400 text-purple-100 py-4 first:pl-5 last:pr-5 ' ,
3131 headerCellClassName ,
32- column . headClassName ,
33- columnIndex === 0 && 'pl-5' ,
34- columnIndex === columns . length - 1 && 'pr-5'
32+ column . headClassName
3533 ) }
3634 >
3735 { column . header }
@@ -52,11 +50,9 @@ export const DataTable = <T,>({
5250 < TableCell
5351 key = { columnIndex }
5452 className = { cn (
55- 'py-4' ,
53+ 'py-4 first:pl-5 last:pr-5 ' ,
5654 bodyCellClassName ,
57- column . cellClassName ,
58- columnIndex === 0 && 'pl-5' ,
59- columnIndex === columns . length - 1 && 'pr-5'
55+ column . cellClassName
6056 ) }
6157 >
6258 { column . cell ( row , rowIndex ) }
You can’t perform that action at this time.
0 commit comments