mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
refactor(FE): Tweak spacing and icon size in uniformity form
This commit is contained in:
@@ -241,7 +241,7 @@ const UniformityResultForm = () => {
|
|||||||
>
|
>
|
||||||
<Button variant='link' className='p-0 text-error' onClick={handleClose}>
|
<Button variant='link' className='p-0 text-error' onClick={handleClose}>
|
||||||
<Tooltip content='Hapus' position='left'>
|
<Tooltip content='Hapus' position='left'>
|
||||||
<Icon icon='heroicons-outline:trash' width={20} height={20} />
|
<Icon icon='heroicons-outline:trash' width={18} height={18} />
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Button>
|
</Button>
|
||||||
</DrawerHeader>
|
</DrawerHeader>
|
||||||
@@ -249,9 +249,9 @@ const UniformityResultForm = () => {
|
|||||||
{/* Form Section */}
|
{/* Form Section */}
|
||||||
<section className='w-full p-4'>
|
<section className='w-full p-4'>
|
||||||
{verifyUniformityResult ? (
|
{verifyUniformityResult ? (
|
||||||
<div className='flex flex-col gap-4'>
|
<div className='flex flex-col gap-3'>
|
||||||
<div className=''>
|
<div className=''>
|
||||||
<h2 className='text-base font-medium text-base-content/50 font-roboto mb-5'>
|
<h2 className='text-base font-medium text-base-content/50 font-roboto mb-1.5'>
|
||||||
Sampling and Range
|
Sampling and Range
|
||||||
</h2>
|
</h2>
|
||||||
<Table<DetailOptionType>
|
<Table<DetailOptionType>
|
||||||
@@ -266,7 +266,7 @@ const UniformityResultForm = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className=''>
|
<div className=''>
|
||||||
<h2 className='text-base font-medium text-base-content/50 font-roboto mb-5'>
|
<h2 className='text-base font-medium text-base-content/50 font-roboto mb-1.5'>
|
||||||
Result
|
Result
|
||||||
</h2>
|
</h2>
|
||||||
<Table<DetailOptionType>
|
<Table<DetailOptionType>
|
||||||
@@ -279,7 +279,7 @@ const UniformityResultForm = () => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className='mt-4'>
|
<div className=''>
|
||||||
<Table<BodyWeightData>
|
<Table<BodyWeightData>
|
||||||
data={tableData}
|
data={tableData}
|
||||||
columns={columnsUniformity}
|
columns={columnsUniformity}
|
||||||
@@ -294,7 +294,7 @@ const UniformityResultForm = () => {
|
|||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
isLoading={isSubmitting}
|
isLoading={isSubmitting}
|
||||||
disabled={!uniformityFormData}
|
disabled={!uniformityFormData}
|
||||||
className='mb-10 px-3 py-2.5 text-sm text-base-100 rounded-lg shadow-sm'
|
className='mb-5 px-3 py-2.5 text-sm text-base-100 rounded-lg shadow-sm'
|
||||||
>
|
>
|
||||||
Submit
|
Submit
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user