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:
parent
5cdb903320
commit
a27c8c3fd1
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue