feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,9 +17,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { X as ActionX } from '@/components/common/icons/ActionIcons';
|
||||
import React, { useState, useCallback } from 'react';
|
||||
import { Modal } from '@/components/ui';
|
||||
import { X, Shield, Scale, ScrollText, ExternalLink } from 'lucide-react';
|
||||
import { Shield, Scale, ScrollText, ExternalLink } from 'lucide-react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import DocumentRenderer from './index';
|
||||
import { useIsMobile } from '../../../hooks/common/useIsMobile';
|
||||
@@ -137,10 +138,10 @@ const AgreementModal = ({ visible, type, onClose }) => {
|
||||
</a>
|
||||
<button
|
||||
onClick={onClose}
|
||||
className='p-1.5 rounded-md text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 hover:bg-gray-100/80 dark:hover:bg-gray-800/80 transition-colors'
|
||||
className='app-action-button p-1.5 rounded-md text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 hover:bg-gray-100/80 dark:hover:bg-gray-800/80 transition-colors'
|
||||
aria-label={t('关闭')}
|
||||
>
|
||||
<X size={16} />
|
||||
<ActionX size={16} />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user