File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ const Graph
217217 } , [ animateGraph ] ) ;
218218
219219 return (
220- < div ref = { containerRef } className = "w-full h-[300px] max-w-[700px]" >
220+ < div ref = { containerRef } className = "w-full h-full max-w-[700px]" >
221221 < canvas ref = { canvasRef } style = { { width : "100%" , height : "100%" } } />
222222 </ div >
223223 ) ;
Original file line number Diff line number Diff line change @@ -325,16 +325,16 @@ const FFT = forwardRef(
325325 } , [ plotData ] ) ;
326326
327327 return (
328- < div className = "flex flex-col gap-2 w-full h-full" >
329- < main
330- className = "flex flex-col flex-[1_1_0 %] min-h-80 bg-highlight rounded-2xl m-4 relative"
331- ref = { canvasContainerRef }
328+ < div className = "flex flex-col gap-2 w-full h-full" >
329+ < main
330+ className = "flex flex-col flex-[1_1_50 %] h-1/2 bg-highlight rounded-2xl m-4 relative"
331+ ref = { canvasContainerRef }
332332 >
333333 </ main >
334334
335335 { /* Flex container for side-by-side layout */ }
336- < div className = "w-full flex flex-row justify-between items-center max-w-full h-[300px] gap-20" >
337- { /* Canvas container (left side) */ }
336+ < div className = "w-full flex flex-row justify-between items-center max-w-full h-1/2 gap-20" >
337+ { /* Canvas container (left side) */ }
338338 < div ref = { containerRef } className = "flex-1 h-full" >
339339 < canvas ref = { canvasRef } className = "w-full h-full" />
340340 </ div >
You can’t perform that action at this time.
0 commit comments