style: adjust map aspect ratio to 2:1 and center to fix proportions and visibility

This commit is contained in:
Usman Baig
2026-01-16 21:27:49 +01:00
parent fb52293f7c
commit cb0e985f65

View File

@@ -46,9 +46,9 @@ const WorldMap = ({ data }: WorldMapProps) => {
return (
<div className="relative w-full">
<ComposableMap
width={475}
height={335}
projectionConfig={{ rotate: [-10, 0, 0], scale: 120, center: [0, 15] }}
width={800}
height={400}
projectionConfig={{ rotate: [-10, 0, 0], scale: 145, center: [0, 0] }}
className="w-full h-auto"
>
<Geographies geography={geoUrl}>