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
@@ -1,6 +1,6 @@
import { DoubleRightOutlined } from '@ant-design/icons';
import { useIntl } from '@umijs/max';
import { Button } from 'antd';
import { Button, FloatButton } from 'antd';
import React from 'react';
import {
@@ -45,6 +45,7 @@ const InfiniteScroller: React.FC<
</div>
)}
</div>
<FloatButton.BackTop visibilityHeight={1000} />
</div>
);
};
@@ -1,7 +1,7 @@
import { createContext, useContext } from 'react';
interface ScrollerContextProps {
total: number;
total: number; // total pages
current: number;
loading: boolean;
refresh: (nextPage: number) => void;