mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
refactor(FE): Adjust checkbox alignment and column padding
This commit is contained in:
@@ -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 />}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user