调整历史数据面板弹出位置,向内偏移1rem
This commit is contained in:
@@ -779,8 +779,8 @@ const SCADADataPanel: React.FC<SCADADataPanelProps> = ({
|
||||
ref={draggableRef}
|
||||
sx={{
|
||||
position: "absolute",
|
||||
right: "1rem",
|
||||
top: "1rem",
|
||||
right: "2rem",
|
||||
top: "2rem",
|
||||
width: "min(920px, calc(100vw - 2rem))",
|
||||
maxWidth: "100vw",
|
||||
height: "860px",
|
||||
|
||||
@@ -165,8 +165,8 @@ const PredictDataPanel: React.FC<PredictDataPanelProps> = ({
|
||||
ref={draggableRef}
|
||||
sx={{
|
||||
position: "absolute",
|
||||
right: "1rem",
|
||||
top: "1rem",
|
||||
right: "2rem",
|
||||
top: "2rem",
|
||||
width: "min(920px, calc(100vw - 2rem))",
|
||||
maxWidth: "100vw",
|
||||
height: "40vh",
|
||||
|
||||
Reference in New Issue
Block a user