fix(ui): 修復事件卡片溢出框 + 基礎架構資料欄位錯誤對應
- incident-card: AI提案按鈕 width 100% + margin 造成右側懸浮框,改為 calc(100%-20px) - page.tsx: useHosts() 返回 Host[] 但直接傳入 HostGrid 期望的 HostInfo[], 補上 mapper (name→hostname, metrics.cpu_percent→cpuPct, service.status→healthy) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -334,7 +334,7 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC
|
||||
gap: 5,
|
||||
fontSize: 13,
|
||||
color: '#87867f',
|
||||
width: '100%',
|
||||
width: 'calc(100% - 20px)',
|
||||
textAlign: 'left' as const,
|
||||
fontFamily: 'inherit',
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user