mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 10:56:52 +08:00
Chore: frontend infrastructure upgrade (#16420)
Co-authored-by: NFish <douxc512@gmail.com> Co-authored-by: zxhlyh <jasonapring2015@outlook.com> Co-authored-by: twwu <twwu@dify.ai> Co-authored-by: jZonG <jzongcode@gmail.com>
This commit is contained in:
@@ -22,8 +22,8 @@ const ProviderIcon: FC<ProviderIconProps> = ({
|
||||
if (provider.provider === 'langgenius/anthropic/anthropic') {
|
||||
return (
|
||||
<div className='mb-2 py-[7px]'>
|
||||
{theme === Theme.dark && <AnthropicLight className='w-[90px] h-2.5' />}
|
||||
{theme === Theme.light && <AnthropicDark className='w-[90px] h-2.5' />}
|
||||
{theme === Theme.dark && <AnthropicLight className='h-2.5 w-[90px]' />}
|
||||
{theme === Theme.light && <AnthropicDark className='h-2.5 w-[90px]' />}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -31,7 +31,7 @@ const ProviderIcon: FC<ProviderIconProps> = ({
|
||||
if (provider.provider === 'langgenius/openai/openai') {
|
||||
return (
|
||||
<div className='mb-2'>
|
||||
<Openai className='w-auto h-6 text-text-inverted-dimmed' />
|
||||
<Openai className='h-6 w-auto text-text-inverted-dimmed' />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -41,7 +41,7 @@ const ProviderIcon: FC<ProviderIconProps> = ({
|
||||
<img
|
||||
alt='provider-icon'
|
||||
src={renderI18nObject(provider.icon_small, language)}
|
||||
className='w-6 h-6'
|
||||
className='h-6 w-6'
|
||||
/>
|
||||
<div className='system-md-semibold text-text-primary'>
|
||||
{renderI18nObject(provider.label, language)}
|
||||
|
||||
Reference in New Issue
Block a user