diff options
Diffstat (limited to 'src-migrate/modules')
| -rw-r--r-- | src-migrate/modules/register/components/FormBisnis.tsx | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src-migrate/modules/register/components/FormBisnis.tsx b/src-migrate/modules/register/components/FormBisnis.tsx index 70b6df1f..6631cb3b 100644 --- a/src-migrate/modules/register/components/FormBisnis.tsx +++ b/src-migrate/modules/register/components/FormBisnis.tsx @@ -293,9 +293,11 @@ const form: React.FC<FormProps> = ({ type, required, isPKP, chekValid }) => { </div> </BottomPopup> <form - className={`mt-6 grid ${ - type === 'bisnis' ? 'grid-rows-10' : 'grid-rows-5' - } grid-flow-col gap-x-4 gap-y-2`} + className={` ${ + type === 'bisnis' + ? 'mt-6 grid grid-cols-1 gap-y-4' + : 'mt-6 grid grid-cols-2 gap-x-4 gap-y-2' + }`} onSubmit={handleSubmit} > <div> @@ -378,7 +380,7 @@ const form: React.FC<FormProps> = ({ type, required, isPKP, chekValid }) => { <label className='font-bold' htmlFor='business_name'> Klasifikasi Jenis Usaha </label> - <div className='mt-5 max-h-10'> + <div className='max-h-10'> <Controller name='industry_id' control={control} @@ -391,12 +393,12 @@ const form: React.FC<FormProps> = ({ type, required, isPKP, chekValid }) => { /> )} /> - {selectedCategory && ( - <span className='text-gray_r-11 text-xs'> - Kategori : {selectedCategory} - </span> - )} </div> + {selectedCategory && ( + <span className='text-gray_r-11 text-xs'> + Kategori : {selectedCategory} + </span> + )} {chekValid && !required && !!errors.industry_id && ( <span className='form-msg-danger'>{errors.industry_id}</span> )} |
