update insights
This commit is contained in:
@@ -244,7 +244,7 @@ export function DataTable<TData, TValue>({
|
||||
isPinned === 'right' && 'right-0',
|
||||
'p-2.5',
|
||||
// Override the shadcn class
|
||||
'[&:has([role=checkbox])]:pr-2.5',
|
||||
'[&:has([role=checkbox])]:px-1.5',
|
||||
// @ts-ignore
|
||||
header.column.columnDef.meta?.className
|
||||
)}
|
||||
@@ -285,6 +285,8 @@ export function DataTable<TData, TValue>({
|
||||
isPinned && isSelected && 'bg-muted',
|
||||
isPinned === 'left' && 'left-0',
|
||||
isPinned === 'right' && 'right-0',
|
||||
// Override the shadcn class
|
||||
'[&:has([role=checkbox])]:px-1.5',
|
||||
'p-2.5',
|
||||
// @ts-ignore
|
||||
cell.column.columnDef.meta?.className
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "bundler",
|
||||
"jsx": "react-jsx",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
|
||||
Reference in New Issue
Block a user