update WarnAlert

This commit is contained in:
lb
2024-04-19 17:03:43 +08:00
förälder 9f7652d9f3
incheckning 9894aeca50
4 ändrade filer med 34 tillägg och 7 borttagningar

Visa fil

@@ -36,8 +36,16 @@ export default function Home({ active }) {
return (
<div className="Main">
<WarnAlert x={800} y={200} />
{active == "窑炉总览" && (
<div style={{ position: "fixed", top: "210px", left: "50%", transform: 'translateX(-40%)' }}>
<div
style={{
position: "fixed",
top: "210px",
left: "50%",
transform: "translateX(-40%)",
}}
>
<TimeFireDir />
</div>
)}