🎨 style: add mt-2 style in ratio section
This commit is contained in:
@@ -82,7 +82,7 @@ const RatioSetting = () => {
|
|||||||
<Spin spinning={loading} size='large'>
|
<Spin spinning={loading} size='large'>
|
||||||
{/* 模型倍率设置以及可视化编辑器 */}
|
{/* 模型倍率设置以及可视化编辑器 */}
|
||||||
<Card style={{ marginTop: '10px' }}>
|
<Card style={{ marginTop: '10px' }}>
|
||||||
<Tabs type='line'>
|
<Tabs type='card'>
|
||||||
<Tabs.TabPane tab={t('模型倍率设置')} itemKey='model'>
|
<Tabs.TabPane tab={t('模型倍率设置')} itemKey='model'>
|
||||||
<ModelRatioSettings options={inputs} refresh={onRefresh} />
|
<ModelRatioSettings options={inputs} refresh={onRefresh} />
|
||||||
</Tabs.TabPane>
|
</Tabs.TabPane>
|
||||||
|
|||||||
@@ -372,7 +372,7 @@ export default function ModelRatioNotSetEditor(props) {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Space vertical align='start' style={{ width: '100%' }}>
|
<Space vertical align='start' style={{ width: '100%' }}>
|
||||||
<Space>
|
<Space className='mt-2'>
|
||||||
<Button icon={<IconPlus />} onClick={() => setVisible(true)}>
|
<Button icon={<IconPlus />} onClick={() => setVisible(true)}>
|
||||||
{t('添加模型')}
|
{t('添加模型')}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -404,7 +404,7 @@ export default function ModelSettingsVisualEditor(props) {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Space vertical align='start' style={{ width: '100%' }}>
|
<Space vertical align='start' style={{ width: '100%' }}>
|
||||||
<Space>
|
<Space className='mt-2'>
|
||||||
<Button
|
<Button
|
||||||
icon={<IconPlus />}
|
icon={<IconPlus />}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user