Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Center the dashboard map in the container (#5987)

Sanne de Vries8795a3e561da
diff --git a/assets/js/dashboard/stats/locations/map.tsx b/assets/js/dashboard/stats/locations/map.tsx
index 4674c0f738..cff9d702cb 100644
--- a/assets/js/dashboard/stats/locations/map.tsx
+++ b/assets/js/dashboard/stats/locations/map.tsx
@@ -163,7 +163,7 @@ const WorldMap = ({
style={{ minHeight: MIN_HEIGHT }}
>
<div
- className="relative mt-4 mx-auto w-full"
+ className="relative flex justify-center items-center mt-4 w-full"
style={{ height: height, maxWidth: width }}
>
<svg