feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,9 +17,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import {
|
||||
RotateCcw as ActionRotateCcw,
|
||||
X as ActionX,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React, { useRef, useState } from 'react';
|
||||
import { Spin, Tooltip } from '@/components/ui';
|
||||
import { ImagePlus, RotateCcw, X } from 'lucide-react';
|
||||
import { ImagePlus } from 'lucide-react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import './creation-params.css';
|
||||
|
||||
@@ -204,13 +208,13 @@ const ImageSlot = ({
|
||||
{onRetry ? (
|
||||
<button
|
||||
type='button'
|
||||
className='cp-slot-action'
|
||||
className='app-action-button cp-slot-action'
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
onRetry();
|
||||
}}
|
||||
>
|
||||
<RotateCcw size={14} aria-hidden='true' />
|
||||
<ActionRotateCcw size={14} aria-hidden='true' />
|
||||
<span>{t('重试')}</span>
|
||||
</button>
|
||||
) : null}
|
||||
@@ -224,7 +228,7 @@ const ImageSlot = ({
|
||||
{status !== 'empty' && onRemove && !disabled ? (
|
||||
<button
|
||||
type='button'
|
||||
className='cp-slot-remove'
|
||||
className='app-action-button cp-slot-remove'
|
||||
aria-label={t('移除{{label}}', { label: labelText })}
|
||||
title={t('移除')}
|
||||
onClick={(e) => {
|
||||
@@ -232,7 +236,7 @@ const ImageSlot = ({
|
||||
onRemove();
|
||||
}}
|
||||
>
|
||||
<X size={14} aria-hidden='true' />
|
||||
<ActionX size={14} aria-hidden='true' />
|
||||
</button>
|
||||
) : null}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user