improve: datatable style

This commit is contained in:
Mahyar Khanbolooki
2025-08-21 18:27:26 +03:30
parent 34c116e70a
commit d30e6ac209
+7 -2
View File
@@ -399,12 +399,17 @@ export function DataTableDemo () {
columnFilters,
columnVisibility,
rowSelection
},
initialState: {
pagination: {
pageSize: 8
}
}
})
return (
<div className='w-full'>
<div className='rounded-3xl w-full'>
<div className='rounded-3xl min-h-[507px] w-full'>
<Table className='w-[727px] md:w-full'>
<TableHeader>
{table.getHeaderGroups().map(headerGroup => (
@@ -460,7 +465,7 @@ export function DataTableDemo () {
</TableBody>
</Table>
</div>
<div className='flex items-center justify-end space-x-2 pt-4 px-7 pb-11'>
<div className='flex items-center justify-end space-x-2 pt-4 px-7 pb-11 select-none'>
<div className='flex-1 text-sm text-disabled-text'>
نمایش:{' '}
<span className='text-primary dark:text-foreground'>