mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 21:25:53 +08:00
changing constants for zoom-in for different screen sizes
This commit is contained in:
parent
f25edf1e29
commit
789880fa07
@ -78,10 +78,10 @@ export const getZoomPx = (): number => {
|
|||||||
const width = window.screen.width;
|
const width = window.screen.width;
|
||||||
if (width < 1400) {
|
if (width < 1400) {
|
||||||
return 190;
|
return 190;
|
||||||
} else if (width > 1400 && width < 2500) {
|
} else if (width > 1400 && width < 1700) {
|
||||||
return 380;
|
return 380;
|
||||||
} else if (width > 2500) {
|
} else if (width > 1700) {
|
||||||
return 360;
|
return 470;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user