From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/header/account-setting/model-provider-page/provider-added-card/add-model-button.tsx | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/app/components/header/account-setting/model-provider-page/provider-added-card/add-model-button.tsx b/app/components/header/account-setting/model-provider-page/provider-added-card/add-model-button.tsx
index fc9960f..cc8fa67 100644
--- a/app/components/header/account-setting/model-provider-page/provider-added-card/add-model-button.tsx
+++ b/app/components/header/account-setting/model-provider-page/provider-added-card/add-model-button.tsx
@@ -1,7 +1,6 @@
import type { FC } from 'react'
import { useTranslation } from 'react-i18next'
import { PlusCircle } from '@/app/components/base/icons/src/vender/solid/general'
-import cn from '@/utils/classnames'
type AddModelButtonProps = {
className?: string
@@ -15,10 +14,13 @@
return (
<span
- className={cn('system-xs-medium flex h-6 shrink-0 cursor-pointer items-center rounded-md px-1.5 text-text-tertiary hover:bg-components-button-ghost-bg-hover hover:text-components-button-ghost-text', className)}
+ className={`
+ shrink-0 flex items-center px-1.5 h-6 text-xs font-medium text-gray-500 cursor-pointer
+ hover:bg-primary-50 hover:text-primary-600 rounded-md ${className}
+ `}
onClick={onClick}
>
- <PlusCircle className='mr-1 h-3 w-3' />
+ <PlusCircle className='mr-1 w-3 h-3' />
{t('common.modelProvider.addModel')}
</span>
)
--
Gitblit v1.8.0