diff --git a/src/components/dialog/base-floating-dialog.js b/src/components/dialog/base-floating-dialog.js
index 64d0394d..48849d95 100644
--- a/src/components/dialog/base-floating-dialog.js
+++ b/src/components/dialog/base-floating-dialog.js
@@ -61,12 +61,12 @@ export default function BaseFloatingDialog({ title, dialogObject, dataKey, dataL
TransitionComponent={Transition}
disableEnforceFocus
style={{ pointerEvents: 'none' }}
- PaperProps={{ sx: { width: 750, height: 510, pointerEvents: 'auto'} }}
- sx={{ width: 750, height: 510, '.MuiBackdrop-root': { backgroundColor: 'transparent' }}}
+ PaperProps={{ sx: { width: 625, height: 510, pointerEvents: 'auto'} }}
+ sx={{ width: 625, height: 510, '.MuiBackdrop-root': { backgroundColor: 'transparent' }}}
>
{ title }
- { dialogObject }
+ { dialogObject }
diff --git a/src/components/map/map.js b/src/components/map/map.js
index 340e52e1..8a39e91d 100644
--- a/src/components/map/map.js
+++ b/src/components/map/map.js
@@ -21,7 +21,7 @@ export const Map = () => {
zoom={5}
zoomControl={false}
scrollWheelZoom={true}
- ref={setMap}
+ whenCreated={setMap}
style={{ height: '100vh', width:'100wh' }}>
{ darkMode.enabled
?