summaryrefslogtreecommitdiff
path: root/src-migrate/modules
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-11 11:54:05 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-11 11:54:05 +0700
commitf67560a48990dddcc820c5233a5bf3270d1d69d0 (patch)
treefb4b1cc2714837ad286f545bece88fdd25f2e2a6 /src-migrate/modules
parentb89d57916ec9d2be3db786a8481a0acc5fd74e2f (diff)
<iman> update switch account
Diffstat (limited to 'src-migrate/modules')
-rw-r--r--src-migrate/modules/register/components/FormBisnis.tsx20
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>
)}