feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -21,6 +21,7 @@ import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Card, Button, Typography, Tag } from '@/components/ui';
|
||||
import { copy, showError, showSuccess } from '../../../helpers';
|
||||
import { Copy } from '../icons/ActionIcons';
|
||||
|
||||
/**
|
||||
* 解析密钥数据,支持多种格式
|
||||
@@ -175,16 +176,7 @@ const ChannelKeyDisplay = ({
|
||||
size='small'
|
||||
type='primary'
|
||||
theme='outline'
|
||||
icon={
|
||||
<svg
|
||||
className='w-3 h-3'
|
||||
fill='currentColor'
|
||||
viewBox='0 0 20 20'
|
||||
>
|
||||
<path d='M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z' />
|
||||
<path d='M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z' />
|
||||
</svg>
|
||||
}
|
||||
icon={<Copy size={12} />}
|
||||
onClick={() => handleCopyKey(keyItem.content)}
|
||||
>
|
||||
{t('复制')}
|
||||
|
||||
@@ -31,12 +31,11 @@ import {
|
||||
Underline,
|
||||
List,
|
||||
ListOrdered,
|
||||
Quote,
|
||||
Undo2,
|
||||
Redo2,
|
||||
Eraser,
|
||||
ImagePlus,
|
||||
} from 'lucide-react';
|
||||
} from '../icons/ActionIcons';
|
||||
import { Quote, ImagePlus } from 'lucide-react';
|
||||
import {
|
||||
articleImageSource,
|
||||
ARTICLE_IMAGE_TYPES,
|
||||
@@ -470,6 +469,7 @@ export default function RichTextEditor({
|
||||
</button>
|
||||
))}
|
||||
<button
|
||||
className='app-action-button'
|
||||
type='button'
|
||||
title='插入正文图片(单张不超过 2 MB)'
|
||||
aria-label='插入正文图片'
|
||||
|
||||
Reference in New Issue
Block a user