Feat: Restore the button's background color #3221 (#9307)

### What problem does this PR solve?

Feat: Restore the button's background color #3221
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-08-07 17:37:53 +08:00
committed by GitHub
parent 5749aa30b0
commit d628234942
28 changed files with 41 additions and 251 deletions

View File

@ -1,5 +1,5 @@
import { MoreButton } from '@/components/more-button';
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
import { RAGFlowAvatar } from '@/components/ragflow-avatar';
import { Card, CardContent } from '@/components/ui/card';
import { formatDate } from '@/utils/date';
import { ChevronRight } from 'lucide-react';
@ -17,10 +17,11 @@ export function ApplicationCard({ app }: ApplicationCardProps) {
<Card className="w-[264px]">
<CardContent className="p-2.5 group flex justify-between">
<div className="flex items-center gap-2.5">
<Avatar className="size-14 rounded-lg">
<AvatarImage src={app.avatar === null ? '' : app.avatar} />
<AvatarFallback className="rounded-lg">CN</AvatarFallback>
</Avatar>
<RAGFlowAvatar
className="size-14 rounded-lg"
avatar={app.avatar}
name={app.title || 'CN'}
></RAGFlowAvatar>
<div className="flex-1">
<h3 className="text-sm font-normal line-clamp-1 mb-1">
{app.title}