Merge pull request #170 from SigNoz/fix-serviceMap-zoom

(Fix) - serviceMap zooms correctly
This commit is contained in:
Ankit Nayan 2021-06-07 20:58:53 +05:30 committed by GitHub
commit 9baf873521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
};