From 6554a8239e561e28834f29d05a064f3504015dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Prod=27homme?= Date: Wed, 3 Apr 2024 09:33:08 +0200 Subject: [PATCH] Address an issue with the scroll behaviour and close button of the detailed view (#859) --- frontend/components/map/component.tsx | 4 ++-- .../containers/project-details/component.tsx | 24 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/frontend/components/map/component.tsx b/frontend/components/map/component.tsx index bc2c3644a..b93f3a1a0 100644 --- a/frontend/components/map/component.tsx +++ b/frontend/components/map/component.tsx @@ -20,10 +20,10 @@ export const Map: FC = ({ onMapLoad, onMapViewportChange, dragPan, - dragRotate, + dragRotate = false, scrollZoom, touchZoom, - touchRotate, + touchRotate = false, doubleClickZoom, width = '100%', height = '100%', diff --git a/frontend/containers/project-details/component.tsx b/frontend/containers/project-details/component.tsx index a721a4a57..b4f98dd43 100644 --- a/frontend/containers/project-details/component.tsx +++ b/frontend/containers/project-details/component.tsx @@ -101,19 +101,19 @@ export const ProjectDetails: FC = ({ return (
+
- {project.looking_for_funding && (