Feat: Modify the background color of the agent canvas #3221 (#9020)

### What problem does this PR solve?

Feat: Modify the background color of the agent canvas #3221
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-07-24 11:20:00 +08:00
committed by GitHub
parent 34c35cf8ae
commit 3db819f011
14 changed files with 68 additions and 49 deletions

View File

@ -32,8 +32,8 @@ export default function Agent() {
);
return (
<section>
<div className="px-8 pt-8">
<section className="flex flex-col w-full flex-1">
<div className="px-8 pt-8 ">
<ListFilterBar
title="Agents"
searchString={searchString}
@ -45,18 +45,20 @@ export default function Agent() {
</Button>
</ListFilterBar>
</div>
<div className="flex flex-wrap gap-4 max-h-[78vh] overflow-auto px-8">
{data.map((x) => {
return (
<AgentCard
key={x.id}
data={x}
showAgentRenameModal={showAgentRenameModal}
></AgentCard>
);
})}
<div className="flex-1 overflow-auto">
<div className="flex flex-wrap gap-4 px-8">
{data.map((x) => {
return (
<AgentCard
key={x.id}
data={x}
showAgentRenameModal={showAgentRenameModal}
></AgentCard>
);
})}
</div>
</div>
<div className="mt-8 px-8">
<div className="mt-8 px-8 pb-8">
<RAGFlowPagination
{...pick(pagination, 'current', 'pageSize')}
total={pagination.total}