From 789880fa07f63cdb87143599be10ef849bd21b80 Mon Sep 17 00:00:00 2001 From: Ankit Anand Date: Sun, 16 May 2021 19:55:36 +0530 Subject: [PATCH] changing constants for zoom-in for different screen sizes --- frontend/src/modules/Servicemap/utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/modules/Servicemap/utils.ts b/frontend/src/modules/Servicemap/utils.ts index bec9c16a68..8a733b824c 100644 --- a/frontend/src/modules/Servicemap/utils.ts +++ b/frontend/src/modules/Servicemap/utils.ts @@ -78,10 +78,10 @@ export const getZoomPx = (): number => { const width = window.screen.width; if (width < 1400) { return 190; - } else if (width > 1400 && width < 2500) { + } else if (width > 1400 && width < 1700) { return 380; - } else if (width > 2500) { - return 360; + } else if (width > 1700) { + return 470; } };