Adjust graph height
This commit is contained in:
parent
71b1ad0e04
commit
2f31b50c10
|
@ -92,7 +92,7 @@ const Diagnose = ({
|
||||||
|
|
||||||
const calculateCanvasSize = useCallback(() => {
|
const calculateCanvasSize = useCallback(() => {
|
||||||
setCanvasWidth((contentRef.current?.clientWidth || 0) - margin);
|
setCanvasWidth((contentRef.current?.clientWidth || 0) - margin);
|
||||||
setCanvasHeight(Math.round(window.innerHeight - 110));
|
setCanvasHeight(Math.round(window.innerHeight - 200));
|
||||||
}, []);
|
}, []);
|
||||||
const siderProps = {
|
const siderProps = {
|
||||||
width: sidebarWidth,
|
width: sidebarWidth,
|
||||||
|
|
Loading…
Reference in New Issue