diff --git a/frontend/src/components/FocusInfo.tsx b/frontend/src/components/FocusInfo.tsx index cdd2c08..085af1e 100644 --- a/frontend/src/components/FocusInfo.tsx +++ b/frontend/src/components/FocusInfo.tsx @@ -65,6 +65,9 @@ export function FocusInfo({ body, onClose }: FocusInfoProps) { .terminal-modal .ant-modal-close:hover { background-color: rgba(35, 134, 54, 0.2) !important; } + .terminal-modal .ant-modal-body .animate-in { + color: #2ea043 !important; /* Ensure content text is green */ + } @keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } @@ -113,44 +116,48 @@ export function FocusInfo({ body, onClose }: FocusInfoProps) { - {/* Stats Grid */} + {/* Stats and Actions Grid */}
-
-
- -
-
-
日心距离
-
{distance} AU
-
-
- - {isProbe && ( + {/* Column 1: Heliocentric Distance Card */}
-
- -
-
-
状态
-
- {isActive ? '运行中' : '已失效'} +
+ +
+
+
日心距离
+
{distance} AU
-
- )} + + {/* Column 2: JPL Horizons Button */} +
+ +
- {/* Actions Row */} -
- -
+ {/* Conditional Probe Status Card (if isProbe is true, this goes in a new row) */} + {isProbe && ( +
+
+
+ +
+
+
状态
+
+ {isActive ? '运行中' : '已失效'} +
+
+
+
+ )}
{/* Connecting Line/Triangle pointing down to the body */}