mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-24 18:23:07 +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:
@@ -42,8 +42,8 @@ const UsageInfo: FC<Props> = ({
|
||||
return 'bg-components-progress-error-progress'
|
||||
})()
|
||||
return (
|
||||
<div className={cn('p-4 flex flex-col gap-2 rounded-xl bg-components-panel-bg', className)}>
|
||||
<Icon className='w-4 h-4 text-text-tertiary' />
|
||||
<div className={cn('flex flex-col gap-2 rounded-xl bg-components-panel-bg p-4', className)}>
|
||||
<Icon className='h-4 w-4 text-text-tertiary' />
|
||||
<div className='flex items-center gap-1'>
|
||||
<div className='system-xs-medium text-text-tertiary'>{name}</div>
|
||||
{tooltip && (
|
||||
@@ -56,7 +56,7 @@ const UsageInfo: FC<Props> = ({
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<div className='flex items-center gap-1 system-md-semibold text-text-primary'>
|
||||
<div className='system-md-semibold flex items-center gap-1 text-text-primary'>
|
||||
{usage}
|
||||
<div className='system-md-regular text-text-quaternary'>/</div>
|
||||
<div>{total === NUM_INFINITE ? t('billing.plansCommon.unlimited') : `${total}${unit}`}</div>
|
||||
|
||||
Reference in New Issue
Block a user