update insights

This commit is contained in:
2025-11-25 16:00:08 -03:00
parent 0278fca9f2
commit 93d330c8df
11 changed files with 65 additions and 15 deletions

View File

@@ -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

View File

@@ -8,6 +8,8 @@
"module": "ES2022",
"moduleResolution": "bundler",
"jsx": "react-jsx",
"sourceMap": true,
"inlineSources": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]