mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-12-01 12:03:26 +01:00
fix(hitl): keep audit log tool names on one line
The tool column had no width and broke at every character, so names stacked vertically. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
f515aeee1e
commit
9075c8253b
2 files changed
+6
-1
No files matched your search
@@ -152,7 +152,9 @@ export default function LogsPanel({ canWrite, detailId, onOpenDetail, onCloseDet
|
||||
{
|
||||
title: t('hitl.colTool', null, '工具'),
|
||||
dataIndex: 'toolName',
|
||||
render: value => <span className="hitl-mono">{value || '—'}</span>
|
||||
width: 220,
|
||||
ellipsis: true,
|
||||
render: value => <span className="hitl-mono hitl-ellipsis" title={value || ''}>{value || '—'}</span>
|
||||
},
|
||||
{
|
||||
title: t('hitl.colConversation', null, '会话'),
|
||||
@@ -230,6 +232,7 @@ export default function LogsPanel({ canWrite, detailId, onOpenDetail, onCloseDet
|
||||
loading={list.loading}
|
||||
pagination={pagination}
|
||||
size="small"
|
||||
scroll={{ x: 1280 }}
|
||||
emptyText={t('hitl.logsEmpty', null, '暂无审批日志')}
|
||||
rowSelection={{
|
||||
selectedRowKeys: selected,
|
||||
|
||||
@@ -99,6 +99,8 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
word-break: normal;
|
||||
overflow-wrap: normal;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user