Frontend Changes

This commit is contained in:
2025-09-27 12:59:03 -04:00
parent e4a8638f28
commit 4571f8f9c9
8 changed files with 536 additions and 12 deletions

View File

@@ -210,8 +210,9 @@ export default function MapView({ mapStyleChoice, heatRadius, heatIntensity, hea
}, [heatRadius, heatIntensity, heatVisible, pointsVisible]);
return (
<div ref={containerRef} style={{ position: 'absolute', inset: 0 }}>
<div ref={mapContainerRef} style={{ width: size.width || '100%', height: size.height || '100%' }} />
// container should fill its parent so parent can control sizing (flex)
<div ref={containerRef} style={{ position: 'relative', width: '100%', height: '100%' }}>
<div ref={mapContainerRef} style={{ width: '100%', height: '100%' }} />
</div>
);
}