调整历史数据面板弹出位置,向内偏移1rem
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user