Skip to content

Commit 4394e71

Browse files
committed
fix height
1 parent a830dab commit 4394e71

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/components/Content.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ const Content = () => {
4848
</Box>
4949
</Collapse>
5050
</Box>
51-
<Box ref={boxRef} width="100%" height={isOpen ? "32vh" : "64vh"} overflow="hidden">
51+
<Box
52+
ref={boxRef}
53+
width="100%"
54+
height={isOpen ? "calc(100vh - 630px)" : "calc(100vh - 330px)"}
55+
overflow="hidden"
56+
>
5257
<Graph graphData={filteredGraphData} width={size.width} height={size.height} />
5358
</Box>
5459
</Box>

0 commit comments

Comments
 (0)