|
|
@@ -23,10 +23,7 @@ export const columns: ColumnDef<User>[] = [
|
|
|
/>
|
|
|
),
|
|
|
meta: {
|
|
|
- className: cn(
|
|
|
- 'sticky md:table-cell start-0 z-10 rounded-tl',
|
|
|
- 'bg-background group-hover/row:bg-muted group-data-[state=selected]/row:bg-muted'
|
|
|
- ),
|
|
|
+ className: cn('sticky md:table-cell start-0 z-10 rounded-tl-[inherit]'),
|
|
|
},
|
|
|
cell: ({ row }) => (
|
|
|
<Checkbox
|
|
|
@@ -45,13 +42,12 @@ export const columns: ColumnDef<User>[] = [
|
|
|
<DataTableColumnHeader column={column} title='Username' />
|
|
|
),
|
|
|
cell: ({ row }) => (
|
|
|
- <LongText className='max-w-36'>{row.getValue('username')}</LongText>
|
|
|
+ <LongText className='max-w-36 ps-3'>{row.getValue('username')}</LongText>
|
|
|
),
|
|
|
meta: {
|
|
|
className: cn(
|
|
|
- 'drop-shadow-[0_1px_2px_rgb(0_0_0_/_0.1)] dark:drop-shadow-[0_1px_2px_rgb(255_255_255_/_0.1)] lg:drop-shadow-none',
|
|
|
- 'bg-background group-hover/row:bg-muted group-data-[state=selected]/row:bg-muted',
|
|
|
- 'sticky start-6 md:table-cell'
|
|
|
+ 'drop-shadow-[0_1px_2px_rgb(0_0_0_/_0.1)] dark:drop-shadow-[0_1px_2px_rgb(255_255_255_/_0.1)]',
|
|
|
+ 'sticky start-6 @4xl/content:table-cell @4xl/content:drop-shadow-none'
|
|
|
),
|
|
|
},
|
|
|
enableHiding: false,
|