mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-13 12:56:51 +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:
@@ -19,7 +19,7 @@ const AgentLogNav = ({
|
||||
const end = agentOrToolLogItemStack.at(-1)
|
||||
|
||||
return (
|
||||
<div className='flex items-center p-1 pr-3 h-8 bg-components-panel-bg'>
|
||||
<div className='flex h-8 items-center bg-components-panel-bg p-1 pr-3'>
|
||||
<Button
|
||||
className='shrink-0 px-[5px]'
|
||||
size='small'
|
||||
@@ -28,10 +28,10 @@ const AgentLogNav = ({
|
||||
onShowAgentOrToolLog()
|
||||
}}
|
||||
>
|
||||
<RiArrowLeftLine className='mr-1 w-3.5 h-3.5' />
|
||||
<RiArrowLeftLine className='mr-1 h-3.5 w-3.5' />
|
||||
AGENT
|
||||
</Button>
|
||||
<div className='shrink-0 mx-0.5 system-xs-regular text-divider-deep'>/</div>
|
||||
<div className='system-xs-regular mx-0.5 shrink-0 text-divider-deep'>/</div>
|
||||
{
|
||||
agentOrToolLogItemStackLength > 1
|
||||
? (
|
||||
@@ -45,7 +45,7 @@ const AgentLogNav = ({
|
||||
</Button>
|
||||
)
|
||||
: (
|
||||
<div className='flex items-center px-[5px] system-xs-medium-uppercase text-text-tertiary'>
|
||||
<div className='system-xs-medium-uppercase flex items-center px-[5px] text-text-tertiary'>
|
||||
{t('workflow.nodes.agent.strategy.label')}
|
||||
</div>
|
||||
)
|
||||
@@ -53,7 +53,7 @@ const AgentLogNav = ({
|
||||
{
|
||||
!!mid.length && (
|
||||
<>
|
||||
<div className='shrink-0 mx-0.5 system-xs-regular text-divider-deep'>/</div>
|
||||
<div className='system-xs-regular mx-0.5 shrink-0 text-divider-deep'>/</div>
|
||||
<AgentLogNavMore
|
||||
options={mid}
|
||||
onShowAgentOrToolLog={onShowAgentOrToolLog}
|
||||
@@ -64,8 +64,8 @@ const AgentLogNav = ({
|
||||
{
|
||||
!!end && agentOrToolLogItemStackLength > 1 && (
|
||||
<>
|
||||
<div className='shrink-0 mx-0.5 system-xs-regular text-divider-deep'>/</div>
|
||||
<div className='flex items-center px-[5px] system-xs-medium-uppercase text-text-tertiary'>
|
||||
<div className='system-xs-regular mx-0.5 shrink-0 text-divider-deep'>/</div>
|
||||
<div className='system-xs-medium-uppercase flex items-center px-[5px] text-text-tertiary'>
|
||||
{end.label}
|
||||
</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user