From 5194104c6bf3087ca1c71413e56dfda0e84f795e Mon Sep 17 00:00:00 2001 From: Sujit Date: Thu, 29 Aug 2024 16:35:27 +0545 Subject: [PATCH 1/8] style(create-project-AOI): adjust map height and change center --- .../CreateProject/FormContents/DefineAOI/MapSection/index.tsx | 4 ++-- .../components/CreateProject/FormContents/DefineAOI/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/components/CreateProject/FormContents/DefineAOI/MapSection/index.tsx b/src/frontend/src/components/CreateProject/FormContents/DefineAOI/MapSection/index.tsx index a3f0c5b7..c95cb01d 100644 --- a/src/frontend/src/components/CreateProject/FormContents/DefineAOI/MapSection/index.tsx +++ b/src/frontend/src/components/CreateProject/FormContents/DefineAOI/MapSection/index.tsx @@ -26,7 +26,7 @@ const MapSection = ({ const { map, isMapLoaded } = useMapLibreGLMap({ mapOptions: { zoom: 5, - center: [21.4691, 78.6569], + center: [289.927139, 18.542117], maxZoom: 19, }, disableRotation: true, @@ -100,7 +100,7 @@ const MapSection = ({ isMapLoaded={isMapLoaded} style={{ width: '100%', - height: '375px', + height: '100%', position: 'relative', }} > diff --git a/src/frontend/src/components/CreateProject/FormContents/DefineAOI/index.tsx b/src/frontend/src/components/CreateProject/FormContents/DefineAOI/index.tsx index 4f6f1ac9..beb15716 100644 --- a/src/frontend/src/components/CreateProject/FormContents/DefineAOI/index.tsx +++ b/src/frontend/src/components/CreateProject/FormContents/DefineAOI/index.tsx @@ -374,7 +374,7 @@ const DefineAOI = ({ formProps }: { formProps: UseFormPropsType }) => { )} -
+
Date: Thu, 29 Aug 2024 16:54:05 +0545 Subject: [PATCH 2/8] fix(project-creation-basic-info): pass onchange and value of Controller to textarea as props --- .../CreateProject/FormContents/BasicInformation/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/components/CreateProject/FormContents/BasicInformation/index.tsx b/src/frontend/src/components/CreateProject/FormContents/BasicInformation/index.tsx index 84cce562..e8d73068 100644 --- a/src/frontend/src/components/CreateProject/FormContents/BasicInformation/index.tsx +++ b/src/frontend/src/components/CreateProject/FormContents/BasicInformation/index.tsx @@ -32,7 +32,8 @@ export default function BasicInformation({