调整历史数据面板弹出位置,向内偏移1rem

This commit is contained in:
JIANG
2025-12-19 16:30:22 +08:00
parent 3b4f7fd694
commit e5cf750754
2 changed files with 4 additions and 4 deletions

View File

@@ -779,8 +779,8 @@ const SCADADataPanel: React.FC<SCADADataPanelProps> = ({
ref={draggableRef} ref={draggableRef}
sx={{ sx={{
position: "absolute", position: "absolute",
right: "1rem", right: "2rem",
top: "1rem", top: "2rem",
width: "min(920px, calc(100vw - 2rem))", width: "min(920px, calc(100vw - 2rem))",
maxWidth: "100vw", maxWidth: "100vw",
height: "860px", height: "860px",

View File

@@ -165,8 +165,8 @@ const PredictDataPanel: React.FC<PredictDataPanelProps> = ({
ref={draggableRef} ref={draggableRef}
sx={{ sx={{
position: "absolute", position: "absolute",
right: "1rem", right: "2rem",
top: "1rem", top: "2rem",
width: "min(920px, calc(100vw - 2rem))", width: "min(920px, calc(100vw - 2rem))",
maxWidth: "100vw", maxWidth: "100vw",
height: "40vh", height: "40vh",