changing constants for zoom-in for different screen sizes

This commit is contained in:
Ankit Anand 2021-05-16 19:55:36 +05:30
parent f25edf1e29
commit 789880fa07

View File

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