mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 11:49:03 +08:00
feat: update zoom pixels based on screen width
This commit is contained in:
parent
1caa07e0af
commit
8d6fb7f897
@ -79,10 +79,11 @@ export const getZoomPx = (): number => {
|
|||||||
if (width < 1400) {
|
if (width < 1400) {
|
||||||
return 190;
|
return 190;
|
||||||
} else if (width > 1400 && width < 1700) {
|
} else if (width > 1400 && width < 1700) {
|
||||||
return 380;
|
return 400;
|
||||||
} else if (width > 1700) {
|
} else if (width > 1700) {
|
||||||
return 470;
|
return 485;
|
||||||
}
|
}
|
||||||
|
return 190;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getTooltip = (node: {
|
export const getTooltip = (node: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user