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
@@ -1,10 +1,9 @@
import { setRouteCache } from '@/atoms/route-cache';
import AlertInfo from '@/components/alert-info';
import IconFont from '@/components/icon-font';
import routeCachekey from '@/config/route-cachekey';
import { VideoCameraOutlined } from '@ant-design/icons';
import { useIntl } from '@umijs/max';
import { Button, Spin, Tooltip } from 'antd';
import { Spin } from 'antd';
import classNames from 'classnames';
import _ from 'lodash';
import 'overlayscrollbars/overlayscrollbars.css';
@@ -239,22 +238,6 @@ const GroundVideo: React.FC<MessageProps> = forwardRef((props, ref) => {
onInputChange={handleInputChange}
shouldResetMessage={false}
clearAll={handleClear}
tools={
<>
<Tooltip
title={intl.formatMessage({
id: 'playground.image.prompt.random'
})}
>
<Button
onClick={handleRandomPrompt}
size="middle"
type="text"
icon={<IconFont type="icon-random"></IconFont>}
></Button>
</Tooltip>
</>
}
/>
</div>
</div>
@@ -23,8 +23,8 @@ export const videoParamsConfig: ParamsSchema[] = [
{ label: '12', value: '12' }
],
label: {
text: 'Duration (seconds)',
isLocalized: false
text: 'playground.params.duration',
isLocalized: true
},
rules: [
{