From df5f38ef4e35db5c0e5e6a80da1a988e1ea3ffdf Mon Sep 17 00:00:00 2001 From: Kevin Koech Date: Fri, 9 Aug 2024 16:08:54 +0300 Subject: [PATCH] Center Tooltip --- packages/hurumap-next/src/Map/Layers.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/hurumap-next/src/Map/Layers.js b/packages/hurumap-next/src/Map/Layers.js index 4bcb8184d..5cba19185 100644 --- a/packages/hurumap-next/src/Map/Layers.js +++ b/packages/hurumap-next/src/Map/Layers.js @@ -94,6 +94,13 @@ function Layers({ textAlign: "center", }, }} + LevelTypographyProps={{ + style: { + top: -12, + left: "50%", + transform: "translateX(-50%)", + }, + }} /> ,