mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 16:28:59 +08:00
Merge pull request #139 from SigNoz/update-zoom-px
feat: update zoom pixels based on screen width
This commit is contained in:
commit
51a24673b9
@ -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