fix(web): ui
This commit is contained in:
@@ -161,11 +161,11 @@ const Knowledge: FC<KnowledgeProps> = ({ value = { knowledge_bases: [] }, onChan
|
||||
extra={
|
||||
<Space>
|
||||
<Button
|
||||
className="rb:h-6! rb:py-0! rb:px-2! rb:rounded-md! rb:text-[#21233"
|
||||
className="rb:h-6! rb:py-0! rb:px-2! rb:rounded-md! rb:text-[#212332]"
|
||||
icon={<div className="rb:size-4 rb:bg-cover rb:bg-[url('@/assets/images/application/set.svg')]"></div>}
|
||||
onClick={handleKnowledgeConfig}
|
||||
>{t('application.globalConfig')}</Button>
|
||||
<Button className="rb:h-6! rb:py-0! rb:px-2! rb:rounded-md! rb:text-[#21233" onClick={handleAddKnowledge}>+</Button>
|
||||
<Button className="rb:h-6! rb:py-0! rb:px-2! rb:rounded-md! rb:text-[#212332]" onClick={handleAddKnowledge}>+</Button>
|
||||
</Space>
|
||||
}
|
||||
headerType="borderless"
|
||||
|
||||
@@ -137,7 +137,7 @@ const ToolList: FC<{ value?: ToolOption[]; onChange?: (config: ToolOption[]) =>
|
||||
<Card
|
||||
title={t('application.toolConfiguration')}
|
||||
extra={
|
||||
<Button className="rb:h-6! rb:py-0! rb:px-2! rb:rounded-md! rb:text-[#21233" onClick={handleAddTool}>+ {t('application.addTool')}</Button>
|
||||
<Button className="rb:h-6! rb:py-0! rb:px-2! rb:rounded-md! rb:text-[#212332]" onClick={handleAddTool}>+ {t('application.addTool')}</Button>
|
||||
}
|
||||
>
|
||||
<div className="rb:leading-4.5 rb:text-[12px] rb:mb-2 rb:font-medium">
|
||||
|
||||
@@ -60,7 +60,7 @@ interface VariableListProps {
|
||||
extra={
|
||||
<Button
|
||||
size="small"
|
||||
className="rb:h-6! rb:py-0! rb:px-2! rb:rounded-md! rb:text-[#21233"
|
||||
className="rb:h-6! rb:py-0! rb:px-2! rb:rounded-md! rb:text-[#212332]"
|
||||
onClick={handleAddVariable}
|
||||
>
|
||||
+ {t('application.addVariables')}
|
||||
|
||||
@@ -157,7 +157,7 @@ const ToolList: FC<ToolListProps> = ({value, onChange}) => {
|
||||
<Card
|
||||
title={t('application.toolConfiguration')}
|
||||
extra={
|
||||
<Button className="rb:h-6! rb:py-0! rb:px-2! rb:rounded-md! rb:text-[#21233" onClick={handleAddTool}>+ {t('application.addTool')}</Button>
|
||||
<Button className="rb:h-6! rb:py-0! rb:px-2! rb:rounded-md! rb:text-[#212332]" onClick={handleAddTool}>+ {t('application.addTool')}</Button>
|
||||
}
|
||||
>
|
||||
{toolList.length === 0
|
||||
|
||||
Reference in New Issue
Block a user