fix(style): model file list text overflow

This commit is contained in:
jialin
2026-01-13 18:43:11 +08:00
parent 5ff26e1ce8
commit 741cf07f2e
11 changed files with 30 additions and 43 deletions
@@ -31,6 +31,7 @@ const TextWrapper = styled.div`
align-items: center;
cursor: pointer;
height: 100%;
min-width: 32px;
`;
const PathWrapper = styled.div`
@@ -267,9 +268,7 @@ const useFilesColumns = (props: {
title: intl.formatMessage({ id: 'models.form.source' }),
dataIndex: 'source',
sorter: tableSorter(1),
ellipsis: {
showTitle: false
},
minWidth: 32,
render: (text: string, record: ListItem) => {
const modelInfo = getModelInfo(record);
const { source } = modelInfo;
@@ -286,10 +285,7 @@ const useFilesColumns = (props: {
title: intl.formatMessage({ id: 'resources.worker' }),
dataIndex: 'worker_id',
sorter: tableSorter(2),
width: '18%',
ellipsis: {
showTitle: false
},
minWidth: 32,
render: (text: string, record: ListItem) => {
return (
<AutoTooltip ghost>