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
+2 -3
View File
@@ -110,14 +110,13 @@ const GPUList: React.FC<{ clusterId?: number; widths: { input: number } }> = ({
<ConfigProvider renderEmpty={renderEmpty}>
<Table
columns={columns}
style={{ width: '100%' }}
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
tableLayout={dataSource.loadend ? 'auto' : 'fixed'}
tableLayout={'auto'}
dataSource={dataSource.dataList}
loading={dataSource.loading}
rowKey="id"
scroll={{ x: true }}
scroll={{ x: 900 }}
onChange={handleTableChange}
pagination={{
showSizeChanger: true,
@@ -319,7 +319,9 @@ const ModelFiles = () => {
tableLayout="fixed"
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
style={{ width: '100%' }}
scroll={{
x: 900
}}
onChange={handleTableChange}
dataSource={dataSource.dataList}
loading={dataSource.loading}
+2 -3
View File
@@ -280,12 +280,11 @@ const Workers: React.FC<{
columns={columns}
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
tableLayout={dataSource.loadend ? 'auto' : 'fixed'}
style={{ width: '100%' }}
tableLayout={'auto'}
dataSource={dataSource.dataList}
loading={dataSource.loading}
rowKey="id"
scroll={{ x: true }}
scroll={{ x: 900 }}
onChange={handleTableChange}
rowSelection={rowSelection}
pagination={{