mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
feat: add in site message comp
This commit is contained in:
@ -9,7 +9,7 @@ type WithIconItemProps = WithIconCardItemProps & {
|
||||
function WithIconCardItem({ icon, children }: WithIconItemProps) {
|
||||
return (
|
||||
<div className="flex h-11 items-center space-x-3 rounded-lg bg-background-section px-2">
|
||||
<Image src={icon} className="!border-none object-contain" alt="icon" width={40} height={40} />
|
||||
<Image src={decodeURIComponent(icon)} className="!border-none object-contain" alt="icon" width={40} height={40} />
|
||||
<div className="min-w-0 grow overflow-hidden text-text-secondary system-sm-medium [&_p]:!m-0 [&_p]:block [&_p]:w-full [&_p]:overflow-hidden [&_p]:text-ellipsis [&_p]:whitespace-nowrap">
|
||||
{children}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user