updated realTimeViz panel style

This commit is contained in:
Nalvazhuthi
2025-04-07 18:01:48 +05:30
parent 4a05bb8cdf
commit e23b580a14
2 changed files with 12 additions and 10 deletions

View File

@@ -326,7 +326,7 @@ export const DraggableWidget = ({
? `calc(${canvasDimensions.width * 0.16}px - 2px)` // For top/bottom panels, set width
: undefined, // Don't set width if it's left or right
height: ["left", "right"].includes(widget.panel)
? `calc(${canvasDimensions.height * 0.3}px - 2px)` // For left/right panels, set height
? `calc(${canvasDimensions.height * 0.25}px - 2px)` // For left/right panels, set height
: undefined, // Don't set height if it's top or bottom
}}
ref={chartWidget}