From 12911db945f72ead25573892c93f8c3c66e79c26 Mon Sep 17 00:00:00 2001 From: Ankit Nayan Date: Mon, 7 Jun 2021 20:58:02 +0530 Subject: [PATCH] (Fix) - serviceMap zooms correctly --- frontend/src/modules/Servicemap/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/modules/Servicemap/utils.ts b/frontend/src/modules/Servicemap/utils.ts index 347b07851b..d69efe5996 100644 --- a/frontend/src/modules/Servicemap/utils.ts +++ b/frontend/src/modules/Servicemap/utils.ts @@ -79,9 +79,9 @@ export const getZoomPx = (): number => { if (width < 1400) { return 190; } else if (width > 1400 && width < 1700) { - return 400; + return 380; } else if (width > 1700) { - return 485; + return 470; } return 190; };