fix(web): wrap homepage activity event labels
This commit is contained in:
@@ -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')}`}
|
||||
|
||||
Reference in New Issue
Block a user