From f67560a48990dddcc820c5233a5bf3270d1d69d0 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 11 Sep 2024 11:54:05 +0700
Subject: <iman> update switch account

---
 .../modules/register/components/FormBisnis.tsx       | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

(limited to 'src-migrate/modules/register/components/FormBisnis.tsx')

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>
           )}
-- 
cgit v1.2.3

