fix(web): wrap homepage activity event labels
All checks were successful
CD Pipeline / tests (push) Successful in 1m28s
Code Review / ai-code-review (push) Successful in 19s
CD Pipeline / build-and-deploy (push) Successful in 4m13s
CD Pipeline / post-deploy-checks (push) Successful in 1m28s

This commit is contained in:
Your Name
2026-06-02 12:14:56 +08:00
parent 62f8cdb5ff
commit 7a73851aa3
2 changed files with 14 additions and 2 deletions

View File

@@ -362,7 +362,7 @@ function ActivityStreamTab() {
>
<span style={{ fontSize: 10, color: '#87867f', fontFamily: "'JetBrains Mono', monospace", width: 60, flexShrink: 0 }}>{ev._time}</span>
<span style={{ width: 5, height: 5, borderRadius: '50%', background: ev.type === 'HOST_UPDATE' ? '#22C55E' : '#4A90D9', marginTop: 5, flexShrink: 0 }} />
<span style={{ flex: 1, lineHeight: 1.4 }}>
<span style={{ flex: 1, minWidth: 0, lineHeight: 1.4, overflowWrap: 'anywhere', wordBreak: 'break-word' }}>
<b>{ev.type || 'EVENT'}</b>
{ev.data?.overall_status && ` · ${t('statusLabel')}: ${ev.data.overall_status}`}
{ev.data?.hosts && ` · ${ev.data.hosts.length} ${t('hostsLabel')}`}