refactor(FE): Adjust checkbox alignment and column padding

This commit is contained in:
rstubryan
2026-01-29 15:24:30 +07:00
parent 0e43957e6e
commit b8031448ff
@@ -821,7 +821,7 @@ const UniformityTable = () => {
); );
return ( return (
<div className='w-full flex flex-row justify-center'> <div className='w-full flex flex-row xl:justify-center justify-end'>
<CheckboxInput <CheckboxInput
name='allRow' name='allRow'
checked={isAllSelected} checked={isAllSelected}
@@ -834,7 +834,7 @@ const UniformityTable = () => {
}, },
cell: ({ row }) => { cell: ({ row }) => {
return ( return (
<div className='w-full flex flex-row justify-center'> <div className='w-full flex flex-row xl:justify-center justify-end'>
<CheckboxInput <CheckboxInput
name='row' name='row'
checked={row.getIsSelected()} checked={row.getIsSelected()}
@@ -1057,7 +1057,10 @@ const UniformityTable = () => {
isResponseSuccess(uniformities) && isResponseSuccess(uniformities) &&
uniformities?.data?.length === 0, uniformities?.data?.length === 0,
}), }),
headerColumnClassName: 'text-nowrap', headerColumnClassName:
'first:pl-3 first:pr-0 xl:first:pl-3 py-3 text-nowrap',
bodyColumnClassName:
'first:pl-3 first:pr-0 xl:first:pl-3 py-3 text-nowrap',
}} }}
emptyContent={<UniformityTableSkeleton />} emptyContent={<UniformityTableSkeleton />}
/> />