feat: update zoom pixels based on screen width

This commit is contained in:
Nidhi Tandon 2021-05-31 21:45:03 +05:30
parent 1caa07e0af
commit 8d6fb7f897

View File

@ -79,10 +79,11 @@ export const getZoomPx = (): number => {
if (width < 1400) {
return 190;
} else if (width > 1400 && width < 1700) {
return 380;
return 400;
} else if (width > 1700) {
return 470;
return 485;
}
return 190;
};
export const getTooltip = (node: {