fix: model download progress text overflow

This commit is contained in:
jialin
2025-11-26 10:28:40 +08:00
parent ede42e99de
commit 97601280d1
6 changed files with 9 additions and 8 deletions
@@ -3,7 +3,7 @@ import breakpoints from '@/config/breakpoints';
import InfiniteScroller from '@/pages/_components/infinite-scroller';
import { useScrollerContext } from '@/pages/_components/infinite-scroller/use-scroller-context';
import { useIntl } from '@umijs/max';
import { Col, FloatButton, Row, Spin } from 'antd';
import { Col, Row, Spin } from 'antd';
import _ from 'lodash';
import ResizeObserver from 'rc-resize-observer';
import React, { useCallback } from 'react';
@@ -106,7 +106,6 @@ const CatalogList: React.FC<CatalogListProps> = (props) => {
<ListSkeleton span={span} loading={loading} isFirst={isFirst} />
</InfiniteScroller>
</ResizeObserver>
<FloatButton.BackTop visibilityHeight={1000} />
</div>
);
};
@@ -94,6 +94,9 @@ const draftModelDownloadList: ColumnProps[] = [
title: 'models.form.draftModel',
locale: true,
key: 'draft_model',
style: {
wordBreak: 'break-word'
},
width: 280
},
...statusColumn